Fix the padding

This commit is contained in:
Heliguy
2024-09-02 22:02:50 -04:00
parent 1b400f43b1
commit db7b1044f4
2 changed files with 27 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ template $WarehouseWindow: Adw.ApplicationWindow {
// default-width: 240;
default-width: 865;
width-request: 400;
height-request: 360;
height-request: 260;
Adw.Breakpoint main_breakpoint {
condition ("min-width: 865")
@@ -182,4 +182,4 @@ menu primary_menu {
action: "app.about";
}
}
}
}

View File

@@ -5,7 +5,7 @@ template $AddRemoteDialog : Adw.Dialog {
title: _("Add a Remote");
// content-width: 500;
// content-height: 375;
width-request: 400;
// width-request: 400;
follows-content-size: true;
Adw.ToolbarView {
[top]
@@ -24,19 +24,30 @@ template $AddRemoteDialog : Adw.Dialog {
}
Adw.ToastOverlay toast_overlay {
Stack stack {
Adw.PreferencesPage content_page {
Adw.PreferencesGroup {
Adw.EntryRow title_row {
title: _("Enter Title");
}
Adw.EntryRow name_row {
title: _("Enter Name");
}
Adw.EntryRow url_row {
title: _("Enter Repo URL");
}
Adw.ComboRow installation_row {
title: _("Installation");
ScrolledWindow content_page {
propagate-natural-height: true;
propagate-natural-width: true;
Adw.Clamp {
ListBox {
margin-start: 12;
margin-end: 12;
margin-top: 12;
margin-bottom: 12;
selection-mode: none;
valign: start;
styles ["boxed-list"]
Adw.EntryRow title_row {
title: _("Enter Title");
}
Adw.EntryRow name_row {
title: _("Enter Name");
}
Adw.EntryRow url_row {
title: _("Enter Repo URL");
}
Adw.ComboRow installation_row {
title: _("Installation");
}
}
}
}