Commit 6cee716d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

don't let the navigation _popup_ auto-resize itself and don't allocate a

2003-05-28  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpnavigationview.c: don't let the navigation
	_popup_ auto-resize itself and don't allocate a minimum size
	bacause that makes sense for the navigation _tab_ only. Fixes
	popup size and positioning.
parent 3a92d86b
2003-05-28 Michael Natterer <mitch@gimp.org>
* app/display/gimpnavigationview.c: don't let the navigation
_popup_ auto-resize itself and don't allocate a minimum size
bacause that makes sense for the navigation _tab_ only. Fixes
popup size and positioning.
2003-05-28 Sven Neumann <sven@gimp.org>
 
* README: updated info about mailing lists.
......@@ -156,9 +156,6 @@ gimp_navigation_view_init (GimpNavigationView *view)
view->preview = gimp_preview_new_by_types (GIMP_TYPE_NAVIGATION_PREVIEW,
GIMP_TYPE_IMAGE,
GIMP_PREVIEW_SIZE_MEDIUM, 0, TRUE);
gtk_widget_set_size_request (view->preview,
GIMP_PREVIEW_SIZE_HUGE, GIMP_PREVIEW_SIZE_HUGE);
gimp_preview_set_expand (GIMP_PREVIEW (view->preview), TRUE);
gtk_container_add (GTK_CONTAINER (frame), view->preview);
gtk_widget_show (view->preview);
......@@ -369,6 +366,11 @@ gimp_navigation_view_new_private (GimpDisplayShell *shell,
{
GtkWidget *hscale;
gtk_widget_set_size_request (view->preview,
GIMP_PREVIEW_SIZE_HUGE,
GIMP_PREVIEW_SIZE_HUGE);
gimp_preview_set_expand (GIMP_PREVIEW (view->preview), TRUE);
/* the editor buttons */
view->zoom_out_button =
......
......@@ -156,9 +156,6 @@ gimp_navigation_view_init (GimpNavigationView *view)
view->preview = gimp_preview_new_by_types (GIMP_TYPE_NAVIGATION_PREVIEW,
GIMP_TYPE_IMAGE,
GIMP_PREVIEW_SIZE_MEDIUM, 0, TRUE);
gtk_widget_set_size_request (view->preview,
GIMP_PREVIEW_SIZE_HUGE, GIMP_PREVIEW_SIZE_HUGE);
gimp_preview_set_expand (GIMP_PREVIEW (view->preview), TRUE);
gtk_container_add (GTK_CONTAINER (frame), view->preview);
gtk_widget_show (view->preview);
......@@ -369,6 +366,11 @@ gimp_navigation_view_new_private (GimpDisplayShell *shell,
{
GtkWidget *hscale;
gtk_widget_set_size_request (view->preview,
GIMP_PREVIEW_SIZE_HUGE,
GIMP_PREVIEW_SIZE_HUGE);
gimp_preview_set_expand (GIMP_PREVIEW (view->preview), TRUE);
/* the editor buttons */
view->zoom_out_button =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment