summaryrefslogtreecommitdiff
path: root/test/input.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2011-02-13 16:13:04 +0000
committerGreg Ercolano <erco@seriss.com>2011-02-13 16:13:04 +0000
commit83fab9118e4a0a189af734fe2c3837577f3b0d9f (patch)
tree7506a52fc51159476598f3631b7ecb694d84be94 /test/input.cxx
parent3bb11b999318d90632d1d9a412f7c04df1aa86d3 (diff)
Fix problem with text running off edges of buttons. (linux/xft, osx..)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/input.cxx')
-rw-r--r--test/input.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/input.cxx b/test/input.cxx
index 79a04ef22..3c7fa2e43 100644
--- a/test/input.cxx
+++ b/test/input.cxx
@@ -149,14 +149,14 @@ int main(int argc, char **argv) {
b->value(input[4]->tab_nav() ? 1 : 0);
b->value(Fl::option(Fl::OPTION_ARROW_FOCUS) ? 1 : 0);
- b = new Fl_Button(220,y1,100,25,"color"); y1 += 25;
+ b = new Fl_Button(220,y1,120,25,"color"); y1 += 25;
b->color(input[0]->color()); b->callback(color_cb, (void*)0);
b->tooltip("Color behind the text");
- b = new Fl_Button(220,y1,100,25,"selection_color"); y1 += 25;
+ b = new Fl_Button(220,y1,120,25,"selection_color"); y1 += 25;
b->color(input[0]->selection_color()); b->callback(color_cb, (void*)1);
b->labelcolor(fl_contrast(FL_BLACK,b->color()));
b->tooltip("Color behind selected text");
- b = new Fl_Button(220,y1,100,25,"textcolor"); y1 += 25;
+ b = new Fl_Button(220,y1,120,25,"textcolor"); y1 += 25;
b->color(input[0]->textcolor()); b->callback(color_cb, (void*)2);
b->labelcolor(fl_contrast(FL_BLACK,b->color()));
b->tooltip("Color of the text");