STR #1794

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 ]

STR #1794

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
Summary:effects of box() on Fl_Pack are undocumented
Created By:StanS
Assigned To:mike
Fix Version:1.1-current (SVN: v5989)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files

Trouble Report Comments:

Name/Time/Date Text top right image
#1 StanS
07:15 Sep 25, 2007
Fl_Pack doesn't draw its children if box() is non-zero.
Looking at the source, this seems to be the intent for
some reason, but it's not mentioned in the documentation.
#2 matt
01:30 Oct 08, 2007
Fl_Pack tries to be smart about redrawing its content and reduce flickering to a minimum. Unfortunately, there are a few bugs in this code when box types become more complex than originally anticipated.

However the code works fine for all rectangular "FRAME" types, just not for "BOX" types.

I will try to fix this if possible, but as a workaround, please either use a FRAME, or put the Pack inside a group which then provides the frame drawing for you.
#3 mike
21:01 Nov 20, 2007
Fixed in Subversion repository.  
bottom left image   bottom right image

Return to Bugs & Features ]


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