| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1492
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 4 - High, e.g. key functionality not working |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | Fl_Progress is not completely filling when schemes are used |
Version: | 1.1.7 |
Created By: | eastern_strider |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5540) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | eastern_strider 22:51 Nov 10, 2006 |
| When schemes are used (i.e., plastic and gtk+), Fl_Progress is not filling completely despite value() reaches maximum(). A small white space is remaining. This problem does not exist if schemes are not used.
Although I've noticed this problem in linux, I suspect this could be general problem for all OS. The following code illustrates the problem:
#include <FL/Fl_Double_Window.H> #include <FL/Fl_Progress.H> #include <FL/Fl.H>
int main () { Fl::scheme ("gtk+"); Fl_Double_Window *win = new Fl_Double_Window (400, 400, "Test");
Fl_Progress *pro = new Fl_Progress (100, 100, 100, 30, "Scanning..."); pro->selection_color (FL_BLUE);
pro->maximum (3); pro->minimum (0); pro->value (3);
Fl::check ();
win->show (); return Fl::run (); } | |
|
#2 | matt 12:45 Nov 12, 2006 |
| Fl_Progress was using the wrong width to calculate progress. Also, progress bars were not drawing inactive when set at 0. | |
[ Return to Bugs & Features ]
|
| |