mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
Add Adw.Breakpoint custom syntax
This commit is contained in:
parent
aafebf0dfb
commit
8fcd08c835
12 changed files with 264 additions and 11 deletions
13
tests/samples/adw_breakpoint.blp
Normal file
13
tests/samples/adw_breakpoint.blp
Normal file
|
@ -0,0 +1,13 @@
|
|||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Gtk.Label label {}
|
||||
|
||||
Adw.Breakpoint {
|
||||
condition ("max-width: 600px")
|
||||
setters {
|
||||
label.label: _("Hello, world!");
|
||||
label.visible: false;
|
||||
label.extra-menu: null;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue