Merge pull request #548 from Pan7/scaledigit

Allow 6 default texture scale digits
This commit is contained in:
Timothee "TTimo" Besset 2017-08-13 11:10:07 -05:00 committed by GitHub
commit 604563f2c3

View file

@ -2634,7 +2634,7 @@ void PrefsDlg::BuildDialog(){
gtk_misc_set_alignment( GTK_MISC( label ), 0.0, 0.5 );
gtk_widget_show( label );
spin = gtk_spin_button_new( GTK_ADJUSTMENT( gtk_adjustment_new( 0.5, 0, 65535, 0.1, 1, 0 ) ), 1, 1 );
spin = gtk_spin_button_new( GTK_ADJUSTMENT( gtk_adjustment_new( 0.5, 0, 65535, 0.1, 1, 0 ) ), 1, 6 );
gtk_spin_button_set_numeric( GTK_SPIN_BUTTON( spin ), TRUE );
gtk_entry_set_alignment( GTK_ENTRY( spin ), 1.0 ); //right
gtk_table_attach( GTK_TABLE( table ), spin, 1, 2, 0, 1,