Skip to content

Commit b037f9f

Browse files
committed
Adjust UI layout and image dimensions
The changes standardize label alignment using xalign property and update image dimensions for better visual presentation across multiple UI components.
1 parent 1f5a26c commit b037f9f

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

data/shot-dark.png

5.48 KB
Loading

data/shot.png

3.6 KB
Loading

data/ui/notebookmainrowcontent.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</child>
1919
<child>
2020
<object class="GtkLabel" id="notebook_entry">
21-
<property name="halign">start</property>
21+
<property name="xalign">0.0</property>
2222
<property name="valign">center</property>
2323
<property name="hexpand">1</property>
2424
</object>

data/ui/notecontentview.ui

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<object class="GtkOverlay">
6565
<child>
6666
<object class="HeContentBlockImage" id="image">
67-
<property name="requested-height">160</property>
67+
<property name="requested-height">182</property>
6868
</object>
6969
</child>
7070
<child type="overlay">
@@ -373,4 +373,4 @@
373373
</object>
374374
</child>
375375
</template>
376-
</interface>
376+
</interface>

data/ui/noterowcontent.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<child type="prefix">
1313
<object class="HeContentBlockImage" id="image">
1414
<property name="requested-height">48</property>
15-
<property name="requested-width">48</property>
15+
<property name="requested-width">64</property>
1616
</object>
1717
</child>
1818
<child>
@@ -22,7 +22,7 @@
2222
<property name="spacing">6</property>
2323
<child>
2424
<object class="GtkLabel">
25-
<property name="halign">start</property>
25+
<property name="xalign">0.0</property>
2626
<property name="ellipsize">end</property>
2727
<property name="single-line-mode">yes</property>
2828
<binding name="label">
@@ -37,7 +37,7 @@
3737
</child>
3838
<child>
3939
<object class="GtkLabel">
40-
<property name="halign">start</property>
40+
<property name="xalign">0.0</property>
4141
<property name="hexpand">1</property>
4242
<property name="ellipsize">end</property>
4343
<property name="max-width-chars">25</property>

data/ui/trashcontentview.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<object class="GtkOverlay">
5757
<child>
5858
<object class="HeContentBlockImage" id="image">
59-
<property name="requested-height">160</property>
59+
<property name="requested-height">182</property>
6060
</object>
6161
</child>
6262
<child type="overlay">

data/ui/trashrowcontent.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<child type="prefix">
1313
<object class="HeContentBlockImage" id="image">
1414
<property name="requested-height">48</property>
15-
<property name="requested-width">48</property>
15+
<property name="requested-width">64</property>
1616
</object>
1717
</child>
1818
<child>
@@ -22,7 +22,7 @@
2222
<property name="spacing">6</property>
2323
<child>
2424
<object class="GtkLabel">
25-
<property name="halign">start</property>
25+
<property name="xalign">0.0</property>
2626
<property name="ellipsize">end</property>
2727
<property name="single-line-mode">yes</property>
2828
<binding name="label">
@@ -37,7 +37,7 @@
3737
</child>
3838
<child>
3939
<object class="GtkLabel">
40-
<property name="halign">start</property>
40+
<property name="xalign">0.0</property>
4141
<property name="hexpand">1</property>
4242
<property name="ellipsize">end</property>
4343
<property name="max-width-chars">25</property>

0 commit comments

Comments
 (0)