Skip to content

Commit

Permalink
book: UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Nov 5, 2023
1 parent 9c9dcd9 commit 1cce558
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
9 changes: 4 additions & 5 deletions book/listings/todo/7/resources/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<property name="min-sidebar-width">200</property>
<property name="sidebar">
<object class="AdwNavigationPage">
<property name="title" bind-source="TodoWindow" bind-property="title" bind-flags="sync-create"/>
<property name="title" bind-source="TodoWindow"
bind-property="title" bind-flags="sync-create" />
<property name="child">
<object class="AdwToolbarView">
<child type="top">
Expand Down Expand Up @@ -93,13 +94,11 @@
<object class="GtkScrolledWindow">
<property name="child">
<object class="AdwClamp">
<property name="maximum-size">400</property>
<property name="tightening-threshold">300</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkEntry" id="entry">
Expand Down
14 changes: 4 additions & 10 deletions book/listings/todo/8/resources/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@
<object class="AdwStatusPage">
<property name="icon-name">checkbox-checked-symbolic</property>
<property name="title" translatable="yes">No Tasks</property>
<property name="description" translatable="yes">
Create some tasks to start using the app.
</property>
<property name="description" translatable="yes">Create some tasks to start using the app.</property>
<property name="child">
<object class="GtkButton">
<property name="label" translatable="yes">_New Collection</property>
Expand Down Expand Up @@ -142,19 +140,15 @@
<object class="GtkScrolledWindow">
<property name="child">
<object class="AdwClamp">
<property name="maximum-size">400</property>
<property name="tightening-threshold">300</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">12</property>
<child>
<object class="GtkEntry" id="entry">
<property name="placeholder-text" translatable="yes">
Enter a Task…
</property>
<property name="placeholder-text" translatable="yes">Enter a Task…</property>
<property name="secondary-icon-name">list-add-symbolic</property>
</object>
</child>
Expand Down

0 comments on commit 1cce558

Please sign in to comment.