summary-section: Use expandable entries
Now the entry grows as much as possible to accomodate the text. Fixes https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/153
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<property name="activatable-widget">summary_entry</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkEntry" id="summary_entry">
|
||||
<object class="GcalExpandableEntry" id="summary_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="halign">end</property>
|
||||
@@ -28,6 +28,7 @@
|
||||
<property name="can_focus">True</property>
|
||||
<property name="width-chars">20</property>
|
||||
<property name="max-width-chars">30</property>
|
||||
<property name="propagate-natural-width">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
@@ -42,7 +43,7 @@
|
||||
<property name="activatable-widget">location_entry</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkEntry" id="location_entry">
|
||||
<object class="GcalExpandableEntry" id="location_entry">
|
||||
<property name="visible">True</property>
|
||||
<property name="hexpand">True</property>
|
||||
<property name="halign">end</property>
|
||||
@@ -51,6 +52,7 @@
|
||||
<property name="width-chars">20</property>
|
||||
<property name="max-width-chars">30</property>
|
||||
<property name="secondary_icon_name">find-location-symbolic</property>
|
||||
<property name="propagate-natural-width">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user