diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-05-30 06:50:01 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-05-30 06:50:01 +0000 |
| commit | 107304f75f1fca39fe46195ac938ca2100361800 (patch) | |
| tree | c5a28f621315617755f055790ab4bf247f203769 | |
| parent | d35b4eded3f48c42095f68b5169d2bb301ba1a06 (diff) | |
Made all menu items fit into Fluid dialog Widget Properties/GUI/Label
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | fluid/widget_panel.cxx | 4 | ||||
| -rw-r--r-- | fluid/widget_panel.fl | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx index bda4a8ff8..0c2f0b406 100644 --- a/fluid/widget_panel.cxx +++ b/fluid/widget_panel.cxx @@ -64,7 +64,7 @@ Fl_Double_Window* make_widget_panel() { { Fl_Group* o = new Fl_Group(90, 35, 300, 20); o->labelsize(11); o->callback((Fl_Callback*)propagate_load); - { Fl_Input* o = new Fl_Input(90, 35, 200, 20, "Label:"); + { Fl_Input* o = new Fl_Input(90, 35, 180, 20, "Label:"); o->tooltip("The label text for the widget."); o->labelfont(1); o->labelsize(11); @@ -73,7 +73,7 @@ Fl_Double_Window* make_widget_panel() { o->when(FL_WHEN_CHANGED); Fl_Group::current()->resizable(o); } - { Fl_Choice* o = new Fl_Choice(290, 35, 100, 20); + { Fl_Choice* o = new Fl_Choice(270, 35, 120, 20); o->tooltip("The label style for the widget."); o->box(FL_THIN_UP_BOX); o->down_box(FL_BORDER_BOX); diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index 9063ddc56..46286de48 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -28,14 +28,14 @@ comment {// // // http://www.fltk.org/str.php // -} {in_source in_header +} {selected in_source in_header } Function {make_widget_panel()} {open } { Fl_Window {} {open - xywh {353 184 410 355} type Double labelsize 11 resizable hotspot - code0 {o->size_range(o->w(), o->h());} visible + xywh {353 184 410 355} type Double labelsize 11 hide resizable hotspot + code0 {o->size_range(o->w(), o->h());} } { Fl_Tabs {} { callback {propagate_load((Fl_Group *)o,v);} open @@ -56,12 +56,12 @@ Function {make_widget_panel()} {open } { Fl_Input {} { label {Label:} - callback label_cb selected - tooltip {The label text for the widget.} xywh {90 35 200 20} labelfont 1 labelsize 11 when 1 textsize 11 resizable + callback label_cb + tooltip {The label text for the widget.} xywh {90 35 180 20} labelfont 1 labelsize 11 when 1 textsize 11 resizable } Fl_Choice {} { callback labeltype_cb open - tooltip {The label style for the widget.} xywh {290 35 100 20} box THIN_UP_BOX down_box BORDER_BOX labelsize 11 textsize 11 + tooltip {The label style for the widget.} xywh {270 35 120 20} box THIN_UP_BOX down_box BORDER_BOX labelsize 11 textsize 11 code0 {extern Fl_Menu_Item labeltypemenu[];} code1 {o->menu(labeltypemenu);} } {} |
