year-view: updated UI
This commit is contained in:
@@ -124,8 +124,6 @@ GcalYearView GtkScrolledWindow {
|
|||||||
|
|
||||||
GcalYearView GtkButton {
|
GcalYearView GtkButton {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-left-width: 0;
|
|
||||||
border-right-width: 0;
|
|
||||||
border-bottom-width: 0;
|
border-bottom-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+17
-9
@@ -20,26 +20,34 @@
|
|||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkOverlay" id="sidebar">
|
<object class="GtkBox" id="sidebar">
|
||||||
<property name="width_request">200</property>
|
<property name="width_request">200</property>
|
||||||
<child type="overlay">
|
<property name="orientation">vertical</property>
|
||||||
<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>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkScrolledWindow">
|
<object class="GtkScrolledWindow">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="shadow_type">out</property>
|
<property name="shadow_type">out</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkListBox" id="events_sidebar">
|
<object class="GtkListBox" id="events_sidebar">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</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>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|||||||
Reference in New Issue
Block a user