[gnome-clocks] Alarm.SetupDialog: Fix colon font size
- From: Volker Sobek <vsobek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Alarm.SetupDialog: Fix colon font size
- Date: Sat, 2 Mar 2013 14:40:41 +0000 (UTC)
commit 7d65d1459f3c746cece98b31541f4fd911f91409
Author: Volker Sobek <reklov live com>
Date: Sat Mar 2 14:40:33 2013 +0100
Alarm.SetupDialog: Fix colon font size
Set the style class once for the grid that contains the spin buttons,
colon label and the toggle button for am/pm. The toggle button has
it's own style class since the last commit, with a smaller font.
data/css/gnome-clocks.css | 2 +-
src/alarm.ui | 11 ++++-------
2 files changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index aace34e..13b4e1d 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -117,7 +117,7 @@
font-size: 18px;
}
-.clocks-alarm-setup-spinbutton {
+.clocks-alarm-setup-time {
font-size: 32px;
}
diff --git a/src/alarm.ui b/src/alarm.ui
index c299d36..e39b962 100644
--- a/src/alarm.ui
+++ b/src/alarm.ui
@@ -136,9 +136,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
+ <property name="margin_top">12</property>
<property name="hexpand">True</property>
<property name="column_spacing">6</property>
- <property name="margin_top">12</property>
+ <style>
+ <class name="clocks-alarm-setup-time"/>
+ </style>
<child>
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
@@ -173,9 +176,6 @@
<property name="adjustment">m_adjustment</property>
<property name="numeric">True</property>
<property name="wrap">True</property>
- <style>
- <class name="clocks-alarm-setup-spinbutton"/>
- </style>
</object>
<packing>
<property name="left_attach">3</property>
@@ -196,9 +196,6 @@
<property name="adjustment">h_adjustment</property>
<property name="numeric">True</property>
<property name="wrap">True</property>
- <style>
- <class name="clocks-alarm-setup-spinbutton"/>
- </style>
</object>
<packing>
<property name="left_attach">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]