[gnome-calendar/gbsneto/event-editor-improvements: 1/3] summary-section: Set max-width-char on entries
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gbsneto/event-editor-improvements: 1/3] summary-section: Set max-width-char on entries
- Date: Tue, 10 Nov 2020 14:11:37 +0000 (UTC)
commit f12df2ecca5a305ed8e6941153e763778ebc64a8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Nov 10 10:35:52 2020 -0300
summary-section: Set max-width-char on entries
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
src/gui/event-editor/gcal-summary-section.ui | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/src/gui/event-editor/gcal-summary-section.ui b/src/gui/event-editor/gcal-summary-section.ui
index e7885778..dcf45213 100644
--- a/src/gui/event-editor/gcal-summary-section.ui
+++ b/src/gui/event-editor/gcal-summary-section.ui
@@ -22,8 +22,12 @@
<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="width-chars">20</property>
+ <property name="max-width-chars">30</property>
</object>
</child>
@@ -40,8 +44,12 @@
<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="width-chars">20</property>
+ <property name="max-width-chars">30</property>
<property name="secondary_icon_name">find-location-symbolic</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]