Some more scrollbar tweaks from Alessandro for STR #871...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
fc8b075951
commit
eb2af9e92b
@ -1648,7 +1648,7 @@ Fl_Help_View::format()
|
||||
|
||||
if (size_ < (h() - 24)) {
|
||||
scrollbar_.hide();
|
||||
hscrollbar_.resize(x() + Fl::box_dx(b), y() + h() - 17 - dy, w(), 17);
|
||||
hscrollbar_.resize(x() + Fl::box_dx(b), y() + h() - 17 - dy, w() - Fl::box_dw(b), 17);
|
||||
} else {
|
||||
scrollbar_.show();
|
||||
scrollbar_.resize(x() + w() - 17 - dx, y() + Fl::box_dy(b), 17, h() - 17 - Fl::box_dh(b));
|
||||
@ -1659,7 +1659,7 @@ Fl_Help_View::format()
|
||||
|
||||
if (size_ < (h() - 8)) scrollbar_.hide();
|
||||
else {
|
||||
scrollbar_.resize(x() + w() - 17 - dx, y() + Fl::box_dy(b), 17, h());
|
||||
scrollbar_.resize(x() + w() - 17 - dx, y() + Fl::box_dy(b), 17, h() - Fl::box_dh(b));
|
||||
scrollbar_.show();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user