Skip to content

Commit

Permalink
Merge pull request #604 from Sjoerd1993/UI-Changes
Browse files Browse the repository at this point in the history
UI changes
  • Loading branch information
cmkohnen authored Nov 20, 2023
2 parents 73ce876 + 8fdede8 commit 6a83f00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions data/ui/figure_settings.blp
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ template $GraphsFigureSettingsWindow : Adw.Window {
}

Adw.PreferencesGroup {
margin-top: 12;
hexpand: false;
halign: center;
margin-bottom: 12;
Button {
label: "Set as Default";
styles ["pill"]
Expand Down
7 changes: 5 additions & 2 deletions data/ui/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ template $GraphsWindow: Adw.ApplicationWindow {
content: Adw.OverlaySplitView split_view {
show-sidebar: bind show_sidebar_button.active;
notify => $on_sidebar_toggle();
sidebar: Box {
orientation: vertical;
sidebar: Adw.ToolbarView {
width-request: 350;
[top]
Adw.HeaderBar sidebar_headerbar {
styles ["flat"]
[start]
Expand All @@ -163,6 +163,8 @@ template $GraphsWindow: Adw.ApplicationWindow {
primary: true;
}
}
Box {
orientation: vertical;
ScrolledWindow scrollwindow_itemlist {
height-request: 250;
hscrollbar-policy: never;
Expand Down Expand Up @@ -553,6 +555,7 @@ template $GraphsWindow: Adw.ApplicationWindow {
}
};
}
}
}
}
}
Expand Down

0 comments on commit 6a83f00

Please sign in to comment.