From 83fab9118e4a0a189af734fe2c3837577f3b0d9f Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sun, 13 Feb 2011 16:13:04 +0000 Subject: 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 --- test/input.cxx | 6 +++--- 1 file 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"); -- cgit v1.2.3