diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2020-05-05 13:51:38 -0500 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2020-05-11 08:38:39 +0000 |
commit | 0dd7ce7c00e915e27d2d585e263fd2e8265ee315 (patch) | |
tree | c7497ca3a754c4a9f1884f8cd4f9d746f70146ff | |
parent | 786847069478be85a8aa3d185ca344eb95104840 (diff) | |
download | nautilus-0dd7ce7c00e915e27d2d585e263fd2e8265ee315.tar.gz |
progress-info-widget: Use tabular numbers in label
Use the tabular numbers (tnum) OpenType feature of PangoAttrFontFeature
to prevent numbers from jumping around as transfer progress changes.
This means that "11" occupies the same space as "44" instead of jumping
around.
-rw-r--r-- | src/resources/ui/nautilus-progress-info-widget.ui | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/ui/nautilus-progress-info-widget.ui b/src/resources/ui/nautilus-progress-info-widget.ui index 0e250abc4..72d08e994 100644 --- a/src/resources/ui/nautilus-progress-info-widget.ui +++ b/src/resources/ui/nautilus-progress-info-widget.ui @@ -74,6 +74,9 @@ <style> <class name="dim-label"/> </style> + <attributes> + <attribute name="font-features" value="tnum"/> + </attributes> </object> <packing> <property name="left_attach">0</property> |