File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -163,10 +163,14 @@ static gint glspi_choose(lua_State* L)
163
163
scroll = gtk_scrolled_window_new (NULL , NULL );
164
164
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroll ),
165
165
GTK_POLICY_AUTOMATIC , GTK_POLICY_AUTOMATIC );
166
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroll ), GTK_SHADOW_IN );
166
167
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog ))),scroll );
168
+ #if GTK_CHECK_VERSION (3 , 0 , 0 )
169
+ gtk_widget_set_vexpand (scroll , TRUE);
170
+ #endif
167
171
gtk_container_add (GTK_CONTAINER (scroll ),tree );
168
172
169
- gtk_widget_set_size_request (tree , 320 , 240 );
173
+ gtk_widget_set_size_request (scroll , 320 , 240 );
170
174
gtk_widget_show_all (dialog );
171
175
gtk_window_set_resizable (GTK_WINDOW (dialog ), TRUE);
172
176
You can’t perform that action at this time.
0 commit comments