[gnome-calendar] year-view: updated UI
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] year-view: updated UI
- Date: Tue, 20 Jan 2015 18:16:55 +0000 (UTC)
commit 12708485db0eee056ce89c1a3e39934b955ebcf8
Author: Erick Pérez Castellanos <erick red gmail com>
Date: Mon Jan 19 21:57:07 2015 -0500
year-view: updated UI
data/theme/gtk-styles.css | 2 --
data/ui/year-view.ui | 26 +++++++++++++++++---------
2 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/data/theme/gtk-styles.css b/data/theme/gtk-styles.css
index 7204df1..200b951 100644
--- a/data/theme/gtk-styles.css
+++ b/data/theme/gtk-styles.css
@@ -124,8 +124,6 @@ GcalYearView GtkScrolledWindow {
GcalYearView GtkButton {
border-radius: 0;
- border-left-width: 0;
- border-right-width: 0;
border-bottom-width: 0;
}
diff --git a/data/ui/year-view.ui b/data/ui/year-view.ui
index 0d12b26..8eedf4c 100644
--- a/data/ui/year-view.ui
+++ b/data/ui/year-view.ui
@@ -20,26 +20,34 @@
</packing>
</child>
<child>
- <object class="GtkOverlay" id="sidebar">
+ <object class="GtkBox" id="sidebar">
<property name="width_request">200</property>
- <child type="overlay">
- <object class="GtkButton" id="add_event_button">
- <property name="visible">True</property>
- <property name="valign">end</property>
- <property name="label" translatable="yes">Add new event…</property>
- <signal name="clicked" handler="add_event_clicked_cb" object="GcalYearView" swapped="yes" />
- </object>
- </child>
+ <property name="orientation">vertical</property>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="shadow_type">out</property>
+ <property name="vexpand">True</property>
<child>
<object class="GtkListBox" id="events_sidebar">
<property name="visible">True</property>
</object>
</child>
</object>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="add_event_button">
+ <property name="visible">True</property>
+ <property name="valign">end</property>
+ <property name="label" translatable="yes">Add new event…</property>
+ <signal name="clicked" handler="add_event_clicked_cb" object="GcalYearView" swapped="yes" />
+ </object>
+ <packing>
+ <property name="position">1</property>
+ </packing>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]