Skip to content

Commit 9a35078

Browse files
authored
Library: make preferences window adaptive (#706)
1 parent 1b04512 commit 9a35078

File tree

1 file changed

+3
-1
lines changed
  • src/Library/demos/Preferences Window

1 file changed

+3
-1
lines changed

src/Library/demos/Preferences Window/main.blp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ Adw.PreferencesWindow pref_window {
4848
Adw.PreferencesGroup {
4949
title: _("API References");
5050

51-
Box {
51+
FlowBox {
5252
orientation: horizontal;
5353
margin-top: 12;
54+
max-children-per-line: 2;
55+
min-children-per-line: 2;
5456

5557
LinkButton {
5658
label: _("PreferencesWindow");

0 commit comments

Comments
 (0)