mirror of https://github.com/snes9xgit/snes9x.git
GTK: Tweak spin button widths.
This commit is contained in:
parent
8ea9a32a61
commit
993ffed6a3
|
@ -231,6 +231,7 @@ bool gtk_shader_parameters_dialog(GtkWindow *parent)
|
|||
else
|
||||
{
|
||||
GtkWidget *spin = gtk_spin_button_new_with_range(p->min, p->max, p->step);
|
||||
gtk_entry_set_width_chars(GTK_ENTRY(spin), 5);
|
||||
gtk_grid_attach(GTK_GRID(grid), spin, 1, i, 1, 1);
|
||||
gtk_size_group_add_widget(sizegroup, spin);
|
||||
int digits = gtk_spin_button_get_digits(GTK_SPIN_BUTTON(spin));
|
||||
|
|
|
@ -2397,6 +2397,7 @@
|
|||
<property name="secondary_icon_sensitive">True</property>
|
||||
<property name="adjustment">adjustment3</property>
|
||||
<property name="snap_to_ticks">True</property>
|
||||
<property name="width_chars">6</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -2524,6 +2525,7 @@
|
|||
<property name="secondary_icon_sensitive">True</property>
|
||||
<property name="adjustment">adjustment2</property>
|
||||
<property name="snap_to_ticks">True</property>
|
||||
<property name="width_chars">6</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -4229,6 +4231,7 @@
|
|||
<property name="secondary_icon_sensitive">True</property>
|
||||
<property name="adjustment">adjustment6</property>
|
||||
<property name="snap_to_ticks">True</property>
|
||||
<property name="width_chars">6</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -4300,6 +4303,7 @@
|
|||
<property name="primary_icon_sensitive">True</property>
|
||||
<property name="secondary_icon_sensitive">True</property>
|
||||
<property name="digits">3</property>
|
||||
<property name="width_chars">6</property>
|
||||
<property name="adjustment">dynamic_rate_adjustment</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
@ -4807,6 +4811,7 @@
|
|||
<property name="secondary_icon_sensitive">True</property>
|
||||
<property name="adjustment">superfx_multiplier_adjustment</property>
|
||||
<property name="snap_to_ticks">True</property>
|
||||
<property name="width_chars">6</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
|
|
Loading…
Reference in New Issue