mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Move Palette.style-name to internal protected StyleMetrics.style-name (#8200)
This is only exposed when internal types are exposed (such as in the lsp). The plan is to make this public under a new name/global after the release. Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
This commit is contained in:
parent
eafa9bae12
commit
8761eaadeb
13 changed files with 96 additions and 66 deletions
|
@ -699,12 +699,13 @@ export global NativeStyleMetrics {
|
|||
// Tab Bar metrics:
|
||||
out property <LayoutAlignment> tab-bar-alignment;
|
||||
|
||||
out property <string> style-name: "qt";
|
||||
|
||||
//-is_non_item_type
|
||||
//-is_internal
|
||||
}
|
||||
|
||||
export global NativePalette {
|
||||
out property <string> style-name: "qt";
|
||||
out property <brush> background;
|
||||
out property <brush> foreground;
|
||||
out property <brush> alternate-background;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue