Dimensions can only be given using pixels. Other dimension values depend
on the layout you use inside the parent widget of the window.
The HBox, VBox, Dock, Canvas layouts supports percent dimensions. But
all other do not. Where do you insert the window to?
Sebastian
Oleksiy Golovko schrieb:
> 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
-------------------------------------------------------------------------
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