@@ -40,11 +40,18 @@ Adw.ApplicationWindow root {
40
40
}
41
41
}
42
42
43
- content: Gtk.ListBox listNavItems {
44
- Gtk.ListBoxRow {
45
- child: Gtk.Box {
43
+ content: Gtk.ScrolledWindow {
44
+ hscrollbar-policy: never;
45
+ vscrollbar-policy: automatic;
46
+
47
+ Gtk.ListBox listNavItems {
48
+ Gtk.Box {
49
+ margin-start: 6;
50
+ margin-top: 12;
51
+ margin-end: 6;
52
+ margin-bottom: 12;
46
53
orientation: horizontal;
47
- spacing: 6 ;
54
+ spacing: 12 ;
48
55
49
56
Gtk.Image {
50
57
icon-name: "user-home-symbolic";
@@ -53,13 +60,15 @@ Adw.ApplicationWindow root {
53
60
Gtk.Label {
54
61
label: _("Home");
55
62
}
56
- };
57
- }
63
+ }
58
64
59
- Gtk.ListBoxRow {
60
- child: Gtk.Box {
65
+ Gtk.Box {
66
+ margin-start: 6;
67
+ margin-top: 12;
68
+ margin-end: 6;
69
+ margin-bottom: 12;
61
70
orientation: horizontal;
62
- spacing: 6 ;
71
+ spacing: 12 ;
63
72
64
73
Gtk.Image {
65
74
icon-name: "bank-symbolic";
@@ -68,13 +77,27 @@ Adw.ApplicationWindow root {
68
77
Gtk.Label {
69
78
label: _("Currency Converter");
70
79
}
71
- };
72
- }
80
+ }
81
+
82
+ Gtk.ListBoxRow {
83
+ selectable: false;
84
+ activatable: false;
85
+
86
+ Gtk.Label navAccountsLabel {
87
+ halign: start;
88
+ label: _("Accounts");
89
+
90
+ styles ["heading"]
91
+ }
92
+ }
73
93
74
- Gtk.ListBoxRow {
75
- child: Gtk.Box {
94
+ Gtk.Box {
95
+ margin-start: 6;
96
+ margin-top: 12;
97
+ margin-end: 6;
98
+ margin-bottom: 12;
76
99
orientation: horizontal;
77
- spacing: 6 ;
100
+ spacing: 12 ;
78
101
79
102
Gtk.Image {
80
103
icon-name: "shell-overview-symbolic";
@@ -83,10 +106,10 @@ Adw.ApplicationWindow root {
83
106
Gtk.Label {
84
107
label: _("Dashboard");
85
108
}
86
- };
87
- }
109
+ }
88
110
89
- styles ["navigation-sidebar"]
111
+ styles ["navigation-sidebar"]
112
+ }
90
113
};
91
114
};
92
115
};
@@ -98,7 +121,7 @@ Adw.ApplicationWindow root {
98
121
[top]
99
122
Adw.HeaderBar {}
100
123
101
- content: Adw.ToastOverlay ToastOverlay {
124
+ content: Adw.ToastOverlay toastOverlay {
102
125
child: Adw.ViewStack viewStack {
103
126
Adw.ViewStackPage {
104
127
name: "home";
@@ -208,6 +231,16 @@ Adw.ApplicationWindow root {
208
231
};
209
232
}
210
233
234
+ Adw.ViewStackPage {
235
+ name: "noAccounts";
236
+ child: Adw.StatusPage {
237
+ icon-name: "wallet2-symbolic";
238
+ title: _("No Accounts Open");
239
+
240
+ styles ["compact"]
241
+ };
242
+ }
243
+
211
244
Adw.ViewStackPage {
212
245
name: "custom";
213
246
child: Adw.Bin customBin {
0 commit comments