FLTK logo

STR #318

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.