month-cell: move day label to the start of the cell

This commit is contained in:
Georges Basile Stavracas Neto
2017-11-11 18:08:22 -02:00
parent 4dd4c2410f
commit 432e7ab7ea
2 changed files with 6 additions and 6 deletions
+4
View File
@@ -443,6 +443,10 @@ monthcell label {
font-size: 0.9rem; font-size: 0.9rem;
} }
monthcell label.day-label {
font-size: 1rem;
}
monthcell.out-of-month label { monthcell.out-of-month label {
color: alpha(@theme_fg_color, 0.66); color: alpha(@theme_fg_color, 0.66);
} }
+2 -6
View File
@@ -17,6 +17,8 @@
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="valign">start</property> <property name="valign">start</property>
<property name="spacing">6</property> <property name="spacing">6</property>
<property name="margin">6</property>
<property name="margin-bottom">3</property>
<child> <child>
<object class="GtkLabel" id="day_label"> <object class="GtkLabel" id="day_label">
<property name="visible">True</property> <property name="visible">True</property>
@@ -25,18 +27,12 @@
<class name="day-label" /> <class name="day-label" />
</style> </style>
</object> </object>
<packing>
<property name="pack-type">end</property>
</packing>
</child> </child>
<child> <child>
<object class="GtkImage" id="weather_icon"> <object class="GtkImage" id="weather_icon">
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="stock">gtk-missing-image</property> <property name="stock">gtk-missing-image</property>
</object> </object>
<packing>
<property name="pack-type">end</property>
</packing>
</child> </child>
</object> </object>
</child> </child>