make zoom entry more visually stable

- right-align so that the % sign stays in place
 - use tabular figures
This commit is contained in:
Lukas K 2021-12-26 17:44:32 +01:00
parent f61f6b1ba3
commit c392f51903
2 changed files with 8 additions and 0 deletions

View file

@ -42,8 +42,12 @@
<property name="primary_icon_activatable">False</property>
<property name="primary_icon_sensitive">False</property>
<property name="input_purpose">digits</property>
<property name="xalign">1</property>
<signal name="activate" handler="eog_zoom_entry_activate_cb" object="EogZoomEntry" swapped="no"/>
<signal name="icon-press" handler="eog_zoom_entry_icon_press_cb" object="EogZoomEntry" swapped="no"/>
<style>
<class name="tnum"/>
</style>
</object>
<packing>
<property name="expand">True</property>

View file

@ -40,3 +40,7 @@ statusbar {
border-radius: 0;
box-shadow: none;
}
.tnum {
font-feature-settings: "tnum 1";
}