Hi

I'm trying to set window dimensions using 'NN%'-like form without any 
success. The only effect I see is that "X"-close button got moved closer
to the window title text. Here steps to reproduce:

var dlg = new qx.ui.window.Window('Error', null)
                 .set({
                     //width: '30%',
                     width: 1300,
                     maxWidth: 400,
                     height: 300,
                     modal: true,
                     useMoveFrame: true,
                     resizable: false,
                     allowMinimize: false,
                     allowMaximize: false,
                     showMaximize: false,
                     showMinimize: false,
                     contentPadding: 5
                 });
dlg.setLayout(new qx.ui.layout.Dock());

...
app.getRoot().add(dlg);

Then in firebug:
dlg.open()
dlg.setWidth('10%')

Should I fill the bug report or window dimensions are not supposed to be 
  used with percents?

Thanks,
        Oleksiy

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to