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:
Simon Hausmann 2025-04-19 10:20:52 +02:00 committed by GitHub
parent eafa9bae12
commit 8761eaadeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 96 additions and 66 deletions

View file

@ -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;