From 1eafef431c8d4daf577f4e121e8bafd4c45070d1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 4 Feb 2005 00:46:27 +0000 Subject: Changed requisition height to be screen height so containers with no sizing policy are not expanded too far beyond screen bounds. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index bff423626..59e8718a2 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -621,7 +621,7 @@ gint ScintillaGTK::FocusOut(GtkWidget *widget, GdkEventFocus * /*event*/) { void ScintillaGTK::SizeRequest(GtkWidget *widget, GtkRequisition *requisition) { requisition->width = 600; - requisition->height = 2000; + requisition->height = gdk_screen_height(); ScintillaGTK *sciThis = ScintillaFromWidget(widget); GtkRequisition child_requisition; gtk_widget_size_request(PWidget(sciThis->scrollbarh), &child_requisition); -- cgit v1.2.3