diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-06-10 15:35:12 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-06-10 15:35:12 +0300 |
commit | b9453ffad7590080ed67898062babd97bbea46af (patch) | |
tree | 2487ac15721a12081a1e8e5fdbc17639e054d081 /src/gtk | |
parent | d7099a4d98744481e8f7ecce4e9233e66af1fd44 (diff) | |
download | Furtherance-b9453ffad7590080ed67898062babd97bbea46af.tar.zst |
Center timer on empty (Issue #1)
Diffstat (limited to 'src/gtk')
-rwxr-xr-x | src/gtk/history_box.ui | 68 | ||||
-rwxr-xr-x | src/gtk/window.ui | 95 |
2 files changed, 49 insertions, 114 deletions
diff --git a/src/gtk/history_box.ui b/src/gtk/history_box.ui index b5c9a34..89a44a7 100755 --- a/src/gtk/history_box.ui +++ b/src/gtk/history_box.ui @@ -21,73 +21,7 @@ <object class="GtkStackPage"> <property name="name">empty</property> <property name="child"> - <object class="AdwStatusPage" id="welcome_page"> - <property name="title" translatable="yes">Start Tracking</property> - <property name="icon_name">com.lakoliu.Furtherance</property> - <property name="child"> - <object class="GtkGrid"> - <property name="halign">center</property> - <property name="row_spacing">12</property> - <property name="column_spacing">12</property> - <child> - <object class="GtkImage"> - <property name="icon_name">input-keyboard-symbolic</property> - <layout> - <property name="column">0</property> - <property name="row">0</property> - </layout> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="halign">start</property> - <property name="label" translatable="yes">Type your task and press start</property> - <layout> - <property name="column">1</property> - <property name="row">0</property> - </layout> - </object> - </child> - <child> - <object class="GtkImage"> - <property name="icon_name">accessories-text-editor-symbolic</property> - <layout> - <property name="column">0</property> - <property name="row">1</property> - </layout> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="halign">start</property> - <property name="label" translatable="yes">Prior tasks will show up here</property> - <layout> - <property name="column">1</property> - <property name="row">1</property> - </layout> - </object> - </child> - <child> - <object class="GtkImage"> - <property name="icon_name">input-mouse-symbolic</property> - <layout> - <property name="column">0</property> - <property name="row">2</property> - </layout> - </object> - </child> - <child> - <object class="GtkLabel"> - <property name="halign">start</property> - <property name="label" translatable="yes">Right-click a task to duplicate it</property> - <layout> - <property name="column">1</property> - <property name="row">2</property> - </layout> - </object> - </child> - </object> - </property> + <object class="AdwStatusPage"> </object> </property> </object> diff --git a/src/gtk/window.ui b/src/gtk/window.ui index 25b81ca..20ac46e 100755 --- a/src/gtk/window.ui +++ b/src/gtk/window.ui @@ -34,53 +34,54 @@ </object> </child> <child> - <object class="GtkBox" id="win_box"> - <property name="orientation">vertical</property> - <property name="spacing">10</property> - <property name="halign">center</property> - <property name="width_request">400</property> - <property name="vexpand">True</property> - <child> - <object class="GtkLabel" id="watch"> - <property name="label">00:00:00</property> - <property name="margin_start">12</property> - <property name="margin_end">12</property> - <attributes> - <attribute name="weight" value="bold"/> - <attribute name="scale" value="5"/> - </attributes> - <style> - <class name="numeric"/> - </style> - </object> - </child> - <child> - <object class="GtkBox"> - <property name="spacing">5</property> - <property name="margin_start">12</property> - <property name="margin_end">8</property> - <child> - <object class="GtkEntry" id="task_input"> - <property name="placeholder-text" translatable="yes">Task Name #tags</property> - <property name="hexpand">True</property> - <property name="hexpand-set">True</property> - </object> - </child> - <child> - <object class="GtkButton" id="start_button"> - <property name="icon-name">media-playback-start-symbolic</property> - <style> - <class name="circular"/> - </style> - </object> - </child> - </object> - </child> - <child> - <object class="FurHistoryBox" id="history_box" /> - </child> - </object> - </child> + <object class="GtkBox" id="win_box"> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="width_request">400</property> + <property name="vexpand">True</property> + <child> + <object class="GtkLabel" id="watch"> + <property name="label">00:00:00</property> + <property name="margin_start">12</property> + <property name="margin_end">12</property> + <attributes> + <attribute name="weight" value="bold"/> + <attribute name="scale" value="5"/> + </attributes> + <style> + <class name="numeric"/> + </style> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="spacing">5</property> + <property name="margin_start">12</property> + <property name="margin_end">8</property> + <child> + <object class="GtkEntry" id="task_input"> + <property name="placeholder-text" translatable="yes">Task Name #tags</property> + <property name="hexpand">True</property> + <property name="hexpand-set">True</property> + </object> + </child> + <child> + <object class="GtkButton" id="start_button"> + <property name="icon-name">media-playback-start-symbolic</property> + <style> + <class name="circular"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="FurHistoryBox" id="history_box" /> + </child> + </object> + </child> </object> </property> </object> |