mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
Adjust sizing of the AboutSlint widget
This commit is contained in:
parent
45a6460aa2
commit
eb88a9ac9c
2 changed files with 6 additions and 4 deletions
|
@ -21,8 +21,7 @@ This element displays a "Made with Slint" badge.
|
|||
```slint
|
||||
import { AboutSlint } from "std-widgets.slint";
|
||||
export component Example inherits Window {
|
||||
width: 128px;
|
||||
height: 128px;
|
||||
height: 175px;
|
||||
AboutSlint {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,9 +86,12 @@ export component TextEdit inherits ScrollView {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export component AboutSlint {
|
||||
VerticalLayout {
|
||||
preferred-height: 100%;
|
||||
preferred-width: 100%;
|
||||
min-height: lay.min-height;
|
||||
min-width: lay.min-width;
|
||||
lay := VerticalLayout {
|
||||
padding: 12px;
|
||||
spacing: 8px;
|
||||
alignment: start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue