Fix Fl_Input_Choice widget positioning.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2005-08-08 02:45:06 +00:00
parent 4d2333525e
commit 229273b43c
1 changed files with 2 additions and 2 deletions

View File

@ -74,9 +74,9 @@ class Fl_Input_Choice : public Fl_Group {
inline int inp_h() { return(h() - Fl::box_dh(box())); }
inline int menu_x() { return(x() + w() - 20 - Fl::box_dx(box())); }
inline int menu_y() { return(y() + Fl::box_dy(box()) + (Fl::scheme()?1:0)); }
inline int menu_y() { return(y() + Fl::box_dy(box())); }
inline int menu_w() { return(20); }
inline int menu_h() { return(h() - Fl::box_dh(box()) - (Fl::scheme()?1:0)); }
inline int menu_h() { return(h() - Fl::box_dh(box())); }
public:
Fl_Input_Choice (int x,int y,int w,int h,const char*l=0) : Fl_Group(x,y,w,h,l) {