diff options
author | nyamatongwe <devnull@localhost> | 2005-02-04 00:46:27 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-02-04 00:46:27 +0000 |
commit | 1eafef431c8d4daf577f4e121e8bafd4c45070d1 (patch) | |
tree | 0732b369a6f970af482e868bffc35d69205e76c2 /gtk | |
parent | 22df08731d5c8d61f6ca361f3078b98120d85fba (diff) | |
download | scintilla-mirror-1eafef431c8d4daf577f4e121e8bafd4c45070d1.tar.gz |
Changed requisition height to be screen height so containers with
no sizing policy are not expanded too far beyond screen bounds.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |