From 47b57655a0cf98513de50240fa335d8b46e68b61 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 28 Apr 2002 10:12:41 +0000 Subject: Make code dialog wider. Make menubar only 25 pixels high to match current defaults. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/function_panel.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fluid/function_panel.cxx') diff --git a/fluid/function_panel.cxx b/fluid/function_panel.cxx index 5d696abaf..0007f6f94 100644 --- a/fluid/function_panel.cxx +++ b/fluid/function_panel.cxx @@ -68,9 +68,9 @@ Fl_Button *code_panel_cancel=(Fl_Button *)0; Fl_Window* make_code_panel() { Fl_Window* w; - { Fl_Window* o = code_panel = new Fl_Window(290, 175, "code"); + { Fl_Window* o = code_panel = new Fl_Window(548, 175, "code"); w = o; - { Fl_Input* o = code_input = new Fl_Input(10, 10, 270, 120); + { Fl_Input* o = code_input = new Fl_Input(10, 10, 525, 120); o->tooltip("C/C++ code."); o->type(4); o->labelsize(12); @@ -79,10 +79,10 @@ Fl_Window* make_code_panel() { o->when(FL_WHEN_NEVER); Fl_Group::current()->resizable(o); } - { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(115, 140, 80, 25, "OK"); + { Fl_Return_Button* o = code_panel_ok = new Fl_Return_Button(370, 140, 80, 25, "OK"); w->hotspot(o); } - { Fl_Button* o = code_panel_cancel = new Fl_Button(200, 140, 80, 25, "Cancel"); + { Fl_Button* o = code_panel_cancel = new Fl_Button(455, 140, 80, 25, "Cancel"); o->shortcut(0xff1b); } o->set_modal(); -- cgit v1.2.3