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
This commit is contained in:
Matthias Melcher
2005-05-30 06:50:01 +00:00
parent d35b4eded3
commit 107304f75f
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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);
+6 -6
View File
@@ -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);}
} {}