[almanah] UI: Events list size and style



commit 542b514b67051c493ad14df62fe6d8608d43f4a3
Author: Álvaro Peña <alvaropg gmail com>
Date:   Sun Dec 6 19:16:14 2015 +0100

    UI: Events list size and style
    
    * Until the sidebar #759095 is created, theses changes allow the user to
      show the events list.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663156

 src/css/almanah.css |    7 +++++++
 src/ui/almanah.ui   |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/src/css/almanah.css b/src/css/almanah.css
index b953df6..4171ee4 100644
--- a/src/css/almanah.css
+++ b/src/css/almanah.css
@@ -14,3 +14,10 @@ AlmanahTagEntry:focused {
     border-left-width: 0px;
     border-right-width: 0px;
 }
+
+.almanah-events-scrolled {
+    border-bottom-width: 0px;
+    border-top-width: 1px;
+    border-left-width: 0px;
+    border-right-width: 0px;
+}
diff --git a/src/ui/almanah.ui b/src/ui/almanah.ui
index 83e4281..966a9ad 100644
--- a/src/ui/almanah.ui
+++ b/src/ui/almanah.ui
@@ -186,6 +186,10 @@
                                                                <property 
name="hscrollbar-policy">GTK_POLICY_AUTOMATIC</property>
                                                                <property 
name="vscrollbar-policy">GTK_POLICY_AUTOMATIC</property>
                                                                <property 
name="shadow-type">GTK_SHADOW_IN</property>
+                                                               <property name="height-request">150</property>
+                                                                <style>
+                                                                  <class name="almanah-events-scrolled"/>
+                                                                </style>
                                                                <child>
                                                                        <object class="GtkTreeView" 
id="almanah_mw_events_tree_view">
                                                                                <property 
name="model">almanah_mw_event_store</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]