From 229273b43ca59459d25a0ccf57e6b9023cd2f385 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 8 Aug 2005 02:45:06 +0000 Subject: Fix Fl_Input_Choice widget positioning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Input_Choice.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Input_Choice.H b/FL/Fl_Input_Choice.H index 5179019bb..d4acb4462 100644 --- a/FL/Fl_Input_Choice.H +++ b/FL/Fl_Input_Choice.H @@ -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) { -- cgit v1.2.3