[gnome-calendar/gbsneto/open-files: 2/6] calendar-page: Add rounded corners to listbox
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/gbsneto/open-files: 2/6] calendar-page: Add rounded corners to listbox
- Date: Mon, 16 Aug 2021 18:31:34 +0000 (UTC)
commit aec1d8d5cdbd12a2b7173a58af1d5484c19bf964
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Aug 6 17:37:40 2021 -0300
calendar-page: Add rounded corners to listbox
src/gui/calendar-management/gcal-calendars-page.ui | 38 +++++++++-------------
1 file changed, 15 insertions(+), 23 deletions(-)
---
diff --git a/src/gui/calendar-management/gcal-calendars-page.ui
b/src/gui/calendar-management/gcal-calendars-page.ui
index 6076696e..ed4c9a57 100644
--- a/src/gui/calendar-management/gcal-calendars-page.ui
+++ b/src/gui/calendar-management/gcal-calendars-page.ui
@@ -67,36 +67,28 @@
<property name="max_content_height">600</property>
<property name="propagate_natural_height">True</property>
-
<child>
- <object class="GtkFrame">
+ <object class="GtkListBox" id="listbox">
<property name="visible">True</property>
- <property name="margin-top">24</property>
- <property name="margin-bottom">24</property>
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
+ <property name="margin">24</property>
+ <property name="selection-mode">none</property>
+ <signal name="row-activated" handler="on_listbox_row_activated_cb"
object="GcalCalendarsPage" swapped="no" />
+ <style>
+ <class name="calendars-list"/>
+ <class name="content"/>
+ </style>
+
<child>
- <object class="GtkListBox" id="listbox">
+ <object class="GtkListBoxRow" id="add_calendar_row">
<property name="visible">True</property>
- <property name="selection-mode">none</property>
- <signal name="row-activated" handler="on_listbox_row_activated_cb"
object="GcalCalendarsPage" swapped="no" />
- <style>
- <class name="calendars-list"/>
- </style>
<child>
- <object class="GtkListBoxRow" id="add_calendar_row">
+ <object class="GtkLabel">
<property name="visible">True</property>
-
- <child>
- <object class="GtkLabel">
- <property name="visible">True</property>
- <property name="expand">True</property>
- <property name="xalign">0.5</property>
- <property name="yalign">0.5</property>
- <property name="label" translatable="yes">Add Calendar…</property>
- </object>
- </child>
+ <property name="expand">True</property>
+ <property name="xalign">0.5</property>
+ <property name="yalign">0.5</property>
+ <property name="label" translatable="yes">Add Calendar…</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]