mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
Fix slint warnings in the docs
This commit is contained in:
parent
a3bb475500
commit
4a1a7b1f7e
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ A special case is to set the preferred size to be the size of the parent using `
|
|||
For example,this component will use the size of the parent by default:
|
||||
|
||||
```slint
|
||||
component MyComponent {
|
||||
export component MyComponent {
|
||||
preferred-width: 100%;
|
||||
preferred-height: 100%;
|
||||
// ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue