Here's a different sample program that can trigger the bug (simplified
from a real program that is having problems.) No images this time, but
only labels. Though there is a IupFill() and MINSIZE that seems to be
needed to trigger the problem.


        Ihandle* label_description = IupLabel("Hello World");
        Ihandle* label_identifier = IupLabel("Label: ");

        Ihandle* vbox_for_all = IupVbox(
                label_description,
                IupFill(),
                label_identifier,
                NULL
        );

        Ihandle* a_dialog = IupDialog(vbox_for_all);
        IupSetAttribute(a_dialog, "MINSIZE", "400x300");

        IupShow(a_dialog);



In the good image, both labels are visible, at the top and bottom of
the window. In the bad image, the bottom label is not visible.

The first set is what the window looks like at launch.
https://blurrrsdk.com/tempdownload/images/IupSizeBugTest2_gooda.png
https://blurrrsdk.com/tempdownload/images/IupSizeBugTest2_bada.png

The second set is with the window maximized.
https://blurrrsdk.com/tempdownload/images/IupSizeBugTest2_goodb.png
https://blurrrsdk.com/tempdownload/images/IupSizeBugTest2_badb.png



Thanks,
Eric

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to