From cb3e368539ffaa910bf5538a26efcf5d39e33575 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Sat, 13 Mar 1999 20:45:20 +0000 Subject: Fixed alignment of Fl_Choice label with the text in the pop-up menu git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Choice.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Fl_Choice.cxx b/src/Fl_Choice.cxx index f51a57131..6a39df387 100644 --- a/src/Fl_Choice.cxx +++ b/src/Fl_Choice.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Choice.cxx,v 1.10 1999/03/07 08:51:42 bill Exp $" +// "$Id: Fl_Choice.cxx,v 1.10.2.1 1999/03/13 20:45:20 bill Exp $" // // Choice widget for the Fast Light Tool Kit (FLTK). // @@ -43,7 +43,7 @@ void Fl_Choice::draw() { if (active_r()) m.activate(); else m.deactivate(); fl_draw_shortcut = 2; // hack value to make '&' disappear int BW = Fl::box_dx(box()); - m.draw( x()+BW+3, y(), w()-2*BW-2-3*H, h(), this); + m.draw( x()+BW, y(), w()-2*BW-3*H, h(), this); fl_draw_shortcut = 0; } draw_label(); @@ -88,5 +88,5 @@ int Fl_Choice::handle(int e) { } // -// End of "$Id: Fl_Choice.cxx,v 1.10 1999/03/07 08:51:42 bill Exp $". +// End of "$Id: Fl_Choice.cxx,v 1.10.2.1 1999/03/13 20:45:20 bill Exp $". // -- cgit v1.2.3