X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fselect.cpp;fp=radiant%2Fselect.cpp;h=7b4319c6dcf89cc93abee17fcb6586cc20b9d538;hb=a9e5bfdf2a458e89978ee52ebbd3711884b54b29;hp=98565705a0cd66be785d818eaac44616444f0bb8;hpb=e175f55b5cc3a06e68e7af608c17dac548a9a31c;p=xonotic%2Fnetradiant.git diff --git a/radiant/select.cpp b/radiant/select.cpp index 98565705..7b4319c6 100644 --- a/radiant/select.cpp +++ b/radiant/select.cpp @@ -941,7 +941,7 @@ void DoRotateDlg(){ auto spin = ui::SpinButton( adj, 1, 0 ); spin.show(); table.attach(spin, {1, 2, 0, 1}, {GTK_EXPAND | GTK_FILL, 0}); - gtk_widget_set_size_request( spin , 64, -1 ); + spin.dimensions(64, -1); gtk_spin_button_set_wrap( spin, TRUE ); gtk_widget_grab_focus( spin ); @@ -953,7 +953,7 @@ void DoRotateDlg(){ auto spin = ui::SpinButton( adj, 1, 0 ); spin.show(); table.attach(spin, {1, 2, 1, 2}, {GTK_EXPAND | GTK_FILL, 0}); - gtk_widget_set_size_request( spin , 64, -1 ); + spin.dimensions(64, -1); gtk_spin_button_set_wrap( spin, TRUE ); g_rotate_dialog.y = spin; @@ -963,7 +963,7 @@ void DoRotateDlg(){ auto spin = ui::SpinButton( adj, 1, 0 ); spin.show(); table.attach(spin, {1, 2, 2, 3}, {GTK_EXPAND | GTK_FILL, 0}); - gtk_widget_set_size_request( spin , 64, -1 ); + spin.dimensions(64, -1); gtk_spin_button_set_wrap( spin, TRUE ); g_rotate_dialog.z = spin;