Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos
105 changes: 57 additions & 48 deletions src/Library/Library.blp
Original file line number Diff line number Diff line change
@@ -1,75 +1,84 @@
using Gtk 4.0;
using Adw 1;

Adw.PreferencesWindow window {
Adw.Window window {
hide-on-close: true;
modal: false;
title: _("Workbench — Library");
default-height: 700;
default-width: 700;

Adw.PreferencesPage {
Adw.PreferencesGroup {
Picture picture_illustration {
can-shrink: false;
margin-bottom: 32;
}
Adw.ToolbarView toolbar_view {
[top]
Adw.HeaderBar header_bar {
title-widget: Adw.WindowTitle {
title: _("Workbench — Library");
};
}

content: Adw.PreferencesPage {
Adw.PreferencesGroup {
Picture picture_illustration {
can-shrink: false;
margin-bottom: 32;
}

Label {
label: _("Learn, Test, Remix");
Label {
label: _("Learn, Test, Remix");

styles [
"title-1"
]
styles [
"title-1"
]
}
}
}

Adw.PreferencesGroup library_uncategorized {}
Adw.PreferencesGroup library_uncategorized {}

Adw.PreferencesGroup library_tools {
title: _("Tools");
}
Adw.PreferencesGroup library_tools {
title: _("Tools");
}

Adw.PreferencesGroup library_network {
title: _("Network");
}
Adw.PreferencesGroup library_network {
title: _("Network");
}

Adw.PreferencesGroup library_controls {
title: _("Controls");
}
Adw.PreferencesGroup library_controls {
title: _("Controls");
}

Adw.PreferencesGroup library_layout {
title: _("Layout");
}
Adw.PreferencesGroup library_layout {
title: _("Layout");
}

Adw.PreferencesGroup library_feedback {
title: _("Feedback");
}
Adw.PreferencesGroup library_feedback {
title: _("Feedback");
}

Adw.PreferencesGroup library_navigation {
title: _("Navigation");
}
Adw.PreferencesGroup library_navigation {
title: _("Navigation");
}

Adw.PreferencesGroup library_user_interface {
title: _("User Interface");
}
Adw.PreferencesGroup library_user_interface {
title: _("User Interface");
}

Adw.PreferencesGroup library_platform {
title: _("Platform APIs");
}
Adw.PreferencesGroup library_platform {
title: _("Platform APIs");
}

Adw.PreferencesGroup {
vexpand: true;
valign: end;
Adw.PreferencesGroup {
vexpand: true;
valign: end;

Label {
label: _('All examples are dedicated to the public domain\nand <b>can be used freely</b> under the terms of <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>');
use-markup: true;
Label {
label: _("All examples are dedicated to the public domain\nand <b>can be used freely</b> under the terms of <a href=\"https://creativecommons.org/publicdomain/zero/1.0/\">CC0 1.0</a>");
use-markup: true;

styles [
"caption"
]
styles [
"caption"
]
}
}
}
};
}
}