Hey,
I'll have only one page in my app. The content is dynamic in center
widget. In small screen, the west part will be put in drop down menu
I need to use form widgets and layouts in my app and i can't see how
to do responsive using any qooxdoo application class:
- qx.application.Standalone: Use themes and themes are very
inflexibles with values. Font size, html widths and heights are
integer numbers, i can't use proportional grids, i can't use SASS, no
media queries, etc.
Well, you mean you can’t use it the way you would expect it. The desktop like
apps can be put into something everyone likes to call responsive. There is a
media query class [1] which can be used to define break points your app can
react on meaning e.g. moving the west part of your app into a new container /
spot or change the font size. Additionally, the root widget features a resize
event which can also be used to react on dimension changes of the app. The
width and height are numbers as long as you set them to a specified width. But
you can also use flex values [2] which leads to a fluid design.
- qx.application.Mobile: Use NavigationPage as main widget but i need
some similar to qx.ui.layout.Dock.
- qx.application.Native : No UI widgets.
- qx.application.Inline : No UI widgets.
- qx.ui.website Widgets: No form widgets.
I could use qxWeb and basic HTML form elements, but i need qx.ui.form
widgets existant functionalities.
Which is the best approach for responsive web applications using qooxdoo?
If you need the power of qx.desktop widgets, you have to stick with the first
mentioned application class. But as described, it is possible to get your app
responsive. But we also know that this is not a suitable and perfect solution
so there might be some changes in the future for better responsive support.
Regards,
Martin
[1] http://demo.qooxdoo.org/current/apiviewer/#qx.bom.MediaQuery
[2] http://manual.qooxdoo.org/current/pages/desktop/ui_layouting.html#flex
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel