diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-03-13 20:45:20 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-03-13 20:45:20 +0000 |
| commit | cb3e368539ffaa910bf5538a26efcf5d39e33575 (patch) | |
| tree | 113448e35353b6d1c8c5c686741dade7fc8c79a2 /src | |
| parent | 05c916d353a20910b8a5f29a5f4e68814205dcc0 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Choice.cxx | 6 |
1 files 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 $". // |
