> I am not sure if this is a bug so first I will ask.
> I have program 1. It hides the menuBar when pressing on F9
> key and statusBar when pressing F10 key. Also when I hide one
> of these widgets the tabsGroup gets resized. It does the job
> right but when I change the window size it resizes the
> tabsGroup as if the menuBar and statusBar must be drawn.
I don't know for fltk-2, but for fltk-1.x, if you change the displayed
widgets within a group (or group derived widget) then you really ought
to call;
my_group->init_sizes();
So that the group sizing logic knows that the layout has changed.
I assume that fltk-2 is similar
> Please, try to compile and check it. Tell me if it is a bug
> or I am doing something wrong.
I don't use fltk-2 much, if ever, these days, so can't easily compile
your example.
As to whether you are doing anything wrong, I'd suggest that using
fltk-2 when it is known to be unmaintained is potentially asking for
troubles later! ;-)
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk