Skip to content
Snippets Groups Projects
Commit 627433d1 authored by Bruce Cowan's avatar Bruce Cowan
Browse files

Tabular numbers

It's a shame this can't be set in the CSS
parent 5ea00f00
No related branches found
No related tags found
No related merge requests found
......@@ -6,11 +6,9 @@
.countdown-label
{
font-size: 36pt;
font-family: monospace;
}
.clock-label
{
font-size: 48pt;
font-family: monospace;
}
......@@ -9,6 +9,9 @@
<template class="CountdownLabel" parent="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<attributes>
<attribute name="font-features" value="tnum=1"/>
</attributes>
<style>
<class name="countdown-label"/>
</style>
......
......@@ -9,6 +9,9 @@
<template class="DigitalClock" parent="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<attributes>
<attribute name="font-features" value="tnum=1"/>
</attributes>
<style>
<class name="clock-label"/>
</style>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment