diff options
| -rw-r--r-- | fluid/widget_panel.cxx | 6 | ||||
| -rw-r--r-- | fluid/widget_panel.fl | 12 |
2 files changed, 10 insertions, 8 deletions
diff --git a/fluid/widget_panel.cxx b/fluid/widget_panel.cxx index a864378d1..4657a25f5 100644 --- a/fluid/widget_panel.cxx +++ b/fluid/widget_panel.cxx @@ -507,19 +507,21 @@ Fl_Double_Window* make_widget_panel() { { Fl_Box* o = new Fl_Box(12, 335, 12, 25); Fl_Group::current()->resizable(o); } - { Fl_Button* o = new Fl_Button(50, 335, 100, 25, "No &Overlay"); + { Fl_Button* o = new Fl_Button(215, 335, 100, 25, "No &Overlay"); o->tooltip("Hide the widget overlay box."); o->labelcolor(1); o->callback((Fl_Callback*)overlay_cb); } { Fl_Button* o = new Fl_Button(155, 335, 80, 25, "Revert"); o->callback((Fl_Callback*)revert_cb); + o->hide(); } - { Fl_Return_Button* o = new Fl_Return_Button(240, 335, 80, 25, "OK"); + { Fl_Return_Button* o = new Fl_Return_Button(325, 335, 80, 25, "OK"); o->callback((Fl_Callback*)ok_cb); } { Fl_Button* o = new Fl_Button(325, 335, 80, 25, "Cancel"); o->callback((Fl_Callback*)cancel_cb); + o->hide(); } o->end(); } diff --git a/fluid/widget_panel.fl b/fluid/widget_panel.fl index e2f4a76b0..b935b4fc0 100644 --- a/fluid/widget_panel.fl +++ b/fluid/widget_panel.fl @@ -413,7 +413,7 @@ image} } { Fl_Text_Editor {} { label {Callback:} - callback callback_cb selected + callback callback_cb tooltip {The callback function or code for the widget.} xywh {102 177 291 86} box NO_BOX align 4 textfont 4 resizable code0 {o->buffer(new Fl_Text_Buffer());} code1 {o->textfont(FL_COURIER);} @@ -470,23 +470,23 @@ image} } Fl_Button {} { label {No &Overlay} - callback overlay_cb - tooltip {Hide the widget overlay box.} xywh {50 335 100 25} labelcolor 1 + callback overlay_cb selected + tooltip {Hide the widget overlay box.} xywh {215 335 100 25} labelcolor 1 } Fl_Button {} { label Revert callback revert_cb - xywh {155 335 80 25} + xywh {155 335 80 25} hide } Fl_Return_Button {} { label OK callback ok_cb - xywh {240 335 80 25} + xywh {325 335 80 25} } Fl_Button {} { label Cancel callback cancel_cb - xywh {325 335 80 25} + xywh {325 335 80 25} hide } } } |
