| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1868
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | horizontal scrollbar always present |
Version: | 1.1-current |
Created By: | sazar |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v6029) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | sazar 14:56 Feb 08, 2008 |
| Hi,
OS : Windows XP and Mac OS X Compiler : GCC In all versions AFTER fltk-1.1.x-r5953, the horizontal scrollbar in the Fl_Help_View is always visible, even when the size of the widget is large enough to contain all its contents. Example : help.cxx included in the distribution/test folder.
Thanks. | |
|
#2 | wavexx 15:57 Feb 14, 2008 |
| When calculating hsize_, the box size is not taken into account, creating an ever-growing length.
Attached patch also fixes horizontal scrollbar visibility in another corner case. | |
|
#3 | wavexx 01:31 Feb 15, 2008 |
| Please ignore the second chunk; it appears that the vertical scrollbar is considered as always visible and is already taken into account. | |
|
#4 | wavexx 07:42 Feb 18, 2008 |
| Incidentally, there were other places that didn't calculate hwidth_ correctly with the correct box type. The old patch fixed Fl_Help_Dialog which has FL_NOBOX set, but not Fl_Help_Viewer.
I spotted this problem with the test case present in fltk-1.1-tests :)
Revised patch fixes issues by using the correct box type in calculations. | |
|
#5 | sazar 08:32 Feb 18, 2008 |
| Excellent : 'my' Fl_Help_View problems resolved with the v2 patch :-)
Thanks. | |
|
#6 | matt 09:39 Feb 20, 2008 |
| Fixed in Subversion repository.
Thank you, wavexx. | |
[ Return to Bugs & Features ]
|
| |