mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
gtk: don't resize scrollbar
Mistaken option to gtk_box_pack_start() meant the scrollbar got allocated space along with the board when the container expands, not what you want with a scrollbar.
This commit is contained in:
parent
7358c1a185
commit
b1ce992d23
1 changed files with 1 additions and 1 deletions
|
@ -2695,7 +2695,7 @@ initGlobals( GtkGameGlobals* globals, LaunchParams* params, CurGameInfo* gi )
|
|||
g_signal_connect( globals->adjustment, "value_changed",
|
||||
G_CALLBACK(scroll_value_changed), globals );
|
||||
gtk_widget_show( vscrollbar );
|
||||
gtk_box_pack_start( GTK_BOX(hbox), vscrollbar, TRUE, TRUE, 0 );
|
||||
gtk_box_pack_start( GTK_BOX(hbox), vscrollbar, FALSE, FALSE, 0 );
|
||||
|
||||
gtk_box_pack_start( GTK_BOX (hbox),
|
||||
makeVerticalBar( globals, window ),
|
||||
|
|
Loading…
Add table
Reference in a new issue