mirror of
https://github.com/morgan9e/warehouse
synced 2026-04-14 00:04:08 +09:00
Remove gtk warning about improper sidebar fraction amount
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user