citadel-realms/data/ui/ColorSchemeChooser.blp

36 lines
734 B
Plaintext
Raw Normal View History

2024-11-12 17:12:37 -05:00
using Gtk 4.0;
using Adw 1;
template $ColorSchemeChooser: Adw.NavigationPage {
title: "Choose Color Scheme";
tag: "realm-colorscheme";
Adw.ToolbarView {
[top]
Adw.HeaderBar {}
content : Paned {
position: 200;
ScrolledWindow {
styles ["sidebar"]
child: ListView colorList {
tab-behavior: item;
styles ["navigation-sidebar"]
factory: Gtk.BuilderListItemFactory {
resource: "/com/subgraph/citadel/Realms/ui/ColorSchemeListItem.ui";
};
};
}
Label previewLabel {
use-markup: true;
xalign: 0;
yalign: 0;
}
};
}
}