Remove gtk warning about improper sidebar fraction amount

This commit is contained in:
heliguy
2024-12-12 17:59:31 -05:00
parent ac0528d516
commit 6dc473d0a3

View File

@@ -10,7 +10,7 @@ template $WarehouseWindow: Adw.ApplicationWindow {
condition ("max-width: 865")
setters {
main_split.collapsed: true;
main_split.min-sidebar-width: 0.2;
main_split.max-sidebar-width: 280;
}
}
content:
@@ -30,8 +30,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
Adw.OverlaySplitView main_split {
collapsed: false;
show-sidebar: true;
sidebar-width-fraction: 999999999;
min-sidebar-width: 250;
max-sidebar-width: 999999999;
sidebar:
Adw.NavigationPage {
title: "Warehouse";
@@ -65,6 +65,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
}
Label {
label: _("Packages");
wrap: true;
wrap-mode: word_char;
}
}
Box remotes_row {
@@ -78,6 +80,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
}
Label {
label: _("Remotes");
wrap: true;
wrap-mode: word_char;
}
}
@@ -92,6 +96,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
}
Label {
label: _("User Data");
wrap: true;
wrap-mode: word_char;
}
}
Box snapshots_row {
@@ -105,6 +111,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
}
Label {
label: _("Snapshots");
wrap: true;
wrap-mode: word_char;
}
}
Box install_row {
@@ -118,6 +126,8 @@ template $WarehouseWindow: Adw.ApplicationWindow {
}
Label {
label: _("Install Packages");
wrap: true;
wrap-mode: word_char;
}
}
}