| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #318
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 2 - Specific to an operating system |
Subsystem: | FLUID |
Summary: | Layout->Center in Group can push object out of visible window |
Version: | 1.1.4 |
Created By: | jason.formby |
Assigned To: | mike |
Fix Version: | 1.1.5rc1 |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | jason.formby 10:08 Mar 18, 2004 |
| I'm not sure if this is a bug or intended behavior but here is what I'm observing:
I have a window inside a UI class (which uses the method nameUI(int argc, char **argv) and Fl::run inside main() for instantiation) with a button on the window, I'm trying to align the button to the center of the window.
If I select the button and use Layout->Center in Group-> Horizontal, the button is moved so far to the right that its not visible. After this its X position looks as if its being set to (window X pos)+(1/2 window width) instead of (1/2 window width). The issue also occurs when doing a Center in Group->Vertical.
I'm using FLUID 1.1.5 on WinXP and I don't know if this is OS or machine specific as I only have the one machine with WinXP. I mentioned this issue in the fltk.general newsgroup under subject "Alignment trouble in FLUID" and someone else replicated this in 1.1.4.
Thanks, Jason Formby
| |
|
#2 | mike 08:37 Apr 06, 2004 |
| Thanks, the code wasn't checking if the parent was a window... | |
|
#3 | mike 08:37 Apr 06, 2004 |
| Fixed in CVS - the anonymous CVS repository will be updated at midnight PST. | |
[ Return to Bugs & Features ]
|
| |