summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-11-10 10:35:52 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2020-11-10 10:35:52 -0300
commit9a6783eff328755892054fb63698c6a3a13f35c2 (patch)
treebb1f057028b9a3d37a87c312a5cf1c04172f4fcc
parenta146b9050d13cc72e7a29c7887be7b4546cb0fb6 (diff)
downloadgnome-calendar-gbsneto/event-editor-improvements.tar.gz
summary-section: Set max-width-char on entriesgbsneto/event-editor-improvements
We want them to grow a bit more, and not let the expansion of the title label detemine the width. Allow the location and title entries to expand, and set a maximum width char to 30 on them. See https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/554
-rw-r--r--src/gui/event-editor/gcal-summary-section.ui6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/event-editor/gcal-summary-section.ui b/src/gui/event-editor/gcal-summary-section.ui
index e7885778..080bacaf 100644
--- a/src/gui/event-editor/gcal-summary-section.ui
+++ b/src/gui/event-editor/gcal-summary-section.ui
@@ -22,8 +22,11 @@
<child>
<object class="GtkEntry" id="summary_entry">
<property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="halign">end</property>
<property name="valign">center</property>
<property name="can_focus">True</property>
+ <property name="max-width-chars">30</property>
</object>
</child>
@@ -40,8 +43,11 @@
<child>
<object class="GtkEntry" id="location_entry">
<property name="visible">True</property>
+ <property name="hexpand">True</property>
+ <property name="halign">end</property>
<property name="valign">center</property>
<property name="can_focus">True</property>
+ <property name="max-width-chars">30</property>
<property name="secondary_icon_name">find-location-symbolic</property>
</object>
</child>