diff options
| author | Joe Carstairs <me@joeac.net> | 2024-12-22 19:30:35 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2024-12-22 19:30:35 +0000 |
| commit | 10759bb88331141b1586c9e6fa6cf6ce1683b964 (patch) | |
| tree | 06aaa25a3d1b154d08bb49ed2771ff969271a138 /schist_gtk4_gui/resources/ui | |
| parent | f3d73f9d88e65a3729086dc4de433bed2f03a396 (diff) | |
Histogram
Diffstat (limited to 'schist_gtk4_gui/resources/ui')
| -rw-r--r-- | schist_gtk4_gui/resources/ui/balances_histogram.ui | 28 | ||||
| -rw-r--r-- | schist_gtk4_gui/resources/ui/balances_view.ui | 6 |
2 files changed, 29 insertions, 5 deletions
diff --git a/schist_gtk4_gui/resources/ui/balances_histogram.ui b/schist_gtk4_gui/resources/ui/balances_histogram.ui new file mode 100644 index 0000000..b6306b9 --- /dev/null +++ b/schist_gtk4_gui/resources/ui/balances_histogram.ui @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<interface> + <template class="SchistBalancesHistogram" parent="GtkBox"> + <child> + <object class="GtkListBox" id="balances_list"> + <child> + <object class="GtkListBoxRow"> + <child> + <object class="GtkLabel"> + <property name="label">I am a balance</property> + </object> + </child> + </object> + </child> + + <child> + <object class="GtkListBoxRow"> + <child> + <object class="GtkLabel"> + <property name="label">I am another balance</property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> diff --git a/schist_gtk4_gui/resources/ui/balances_view.ui b/schist_gtk4_gui/resources/ui/balances_view.ui index 7c329f7..a8f7d7e 100644 --- a/schist_gtk4_gui/resources/ui/balances_view.ui +++ b/schist_gtk4_gui/resources/ui/balances_view.ui @@ -18,11 +18,7 @@ <property name="name">overview</property> <property name="title">Overview</property> <property name="child"> - <object class="GtkLabel"> - <property name="label"> - Hello, balances overview! - </property> - </object> + <object class="SchistBalancesHistogram" id="balances_histogram" /> </property> </object> </child> |
