X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Ftexwindow.cpp;h=20c5bd9cd5f549b04ea5abd5925a274b320f22b6;hp=7607c4b9d821a76ae7acbcd8e28dafcccb642a69;hb=a9e5bfdf2a458e89978ee52ebbd3711884b54b29;hpb=e175f55b5cc3a06e68e7af608c17dac548a9a31c diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index 7607c4b9..20c5bd9c 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -2182,8 +2182,8 @@ ui::Widget TextureBrowser_constructWindow( ui::Window toplevel ){ m_btn_right.add(m_arrow_right); // workaround. the size of the tag frame depends of the requested size of the arrow buttons. - gtk_widget_set_size_request( m_arrow_left, -1, 68 ); - gtk_widget_set_size_request( m_arrow_right, -1, 68 ); + m_arrow_left.dimensions(-1, 68); + m_arrow_right.dimensions(-1, 68); frame_table.attach(m_btn_left, {1, 2, 1, 2}, {GTK_SHRINK, GTK_EXPAND}); frame_table.attach(m_btn_right, {1, 2, 2, 3}, {GTK_SHRINK, GTK_EXPAND});