Hello Iup list,

I'm running the Xmonad window manager [1], which seems to cause Iup some grief.

The fragment below creates a window with two buttons in a split, but the split
is not expanded. The result is a window with two buttons in the top left. As
soon as the window is resized, Iup picks up the new geometry and resizes all
controls accordingly, filling the whole dialog/window.

Xmonad - like other tiling window managers - will always try to force the size
of a window to fit into a free corner of the window. In this case, the window
is half my screen big, but it seems that Iup thinks it is only as big as needed
to fit a split with two buttons.

Note that the GTK backend shows this behaviour, but on Motif the result is just 
fine.


1. http://xmonad.org/

dlg = iup.dialog {
        iup.split {
                expand = "yes",
                iup.button { 
                        title = "Flip",
                        expand = "yes",
                },
                iup.button { 
                        title = "Flop",
                        expand = "yes",
                },
        },
}

dlg:show()
iup.MainLoop()

-- 
:wq
^X^Cy^K^X^C^C^C^C

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to