std-widgets: added LayoutSpec global (#6711)

This commit is contained in:
FloVanGH 2024-11-06 15:47:04 +01:00 committed by GitHub
parent e3ea25f48c
commit c84af1a8d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 79 additions and 104 deletions

View file

@ -8,4 +8,9 @@ export { NativePalette as Palette }
export { ScrollView } from "scrollview.slint";
export { LineEdit } from "lineedit.slint";
export global LayoutSpec {
out property <length> layout-spacing: NativeStyleMetrics.layout-spacing;
out property <length> layout-padding: NativeStyleMetrics.layout-padding;
}
export component ListItem inherits NativeStandardListViewItem {}