In brush_select.c, function brush_popup_open(), the size of the brush preview window is not correctly set. Setting the size of the preview widget is not enough, the window size should be changed accordingly as well.
Original code from brush_select.c:
752 gtk_preview_size (GTK_PREVIEW (bsp->brush_preview), w, h);
754 #if GTK_MAJOR_VERSION > 1
755 gtk_widget_show (bsp->brush_popup);
756 gtk_window_move (GTK_WINDOW(bsp->brush_popup), x, y);
758 gtk_widget_popup (bsp->brush_popup, x, y);
Proposed change: insert
755 gtk_widget_set_size_request (GTK_WIDGET(bsp->brush_popup), w, h);
756 gtk_window_resize (GTK_WINDOW(bsp->brush_popup), w, h);
Log in to post a comment.