Author: greg.ercolano
Date: 2011-02-13 08:13:04 -0800 (Sun, 13 Feb 2011)
New Revision: 8419
Log:
Fix problem with text running off edges of buttons. (linux/xft, osx..)
Modified:
branches/branch-1.3/test/input.cxx
Modified: branches/branch-1.3/test/input.cxx
===================================================================
--- branches/branch-1.3/test/input.cxx 2011-02-13 09:03:56 UTC (rev 8418)
+++ branches/branch-1.3/test/input.cxx 2011-02-13 16:13:04 UTC (rev 8419)
@@ -149,14 +149,14 @@
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");
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit