new-calendar: Use "title" in AdwPreferencesGroup
Replace the manually positioned & styled group label by a property This simplifies the XML code, makes the style match the rest of the UI, and prevents libadwaita from sometimes moving such labels to the bottom.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
126929b8c5
commit
29396acf46
@@ -56,18 +56,7 @@
|
||||
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="hexpand">True</property>
|
||||
<property name="label" translatable="yes">Connect to an Online Calendar</property>
|
||||
<property name="xalign">0.0</property>
|
||||
<attributes>
|
||||
<attribute name="scale" value="1.3" />
|
||||
<attribute name="weight" value="bold" />
|
||||
</attributes>
|
||||
</object>
|
||||
</child>
|
||||
<property name="title" translatable="yes">Connect to an Online Calendar</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkGrid">
|
||||
|
||||
Reference in New Issue
Block a user