J. Russell Smyth schrieb:
I have tried 2 things to try to provide a more "web page" like app:
1 - using QxInline, and overriding the body scroll style stuff with
<body style="overflow:auto;width:;height:;">
This almost worked, but menus and comboboxes in inline components that
may move as a page is scrolled are problematic.. the drop down part on
both will occur at the original location of the element, not the
current location
2 - just changing the style, without using QxInline
This seems to have some problems.. it appears that all qooxdoo
elements are absolutely positioned, even without specific positioning
set? is there any way to make them relatively position? The support to
this thougth is if I just do
this.getClientWindow().getClientDocument().add(component)
without seting position on the component, they all just stack up.
qooxdoo do all absolutly. Changing the style is probably so not the best
idea.
3 - I had the idea to follow what Sebastian said, thinking of apps
like "outlook" and thought that we could put our over-large parts into
scroll panes, as outlook and other applications do (with worst case
putting our entire "page" into a scroll view within the "body" without
overriding the body styles) but I find no component within qooxdoo
that would allow embedding a scrolling pane that contains other
components...
scrollable should be each widget if you simply do a:
setOverflow("auto"|"scrollY"|"scrollX");
Regards,
Sebastian
Any thoughts? is it just not possible to do?
Thanks
Russell
On 1/6/06, Sebastian Werner <[EMAIL PROTECTED]> wrote:
J. Russell Smyth schrieb:
Another basic question, that is not readily apparent from the demos..
Is it possible to use Qooxdoo to create "web page" like apps, using
web page layout symantics, etc? so that as you add more the page can
scroll vertically?
Do the layouts respect their contents mins, then make the "page" grow,
so it can be scrolled up and down? One initial test setting a
component size to very tall seemed to just clip at the browser edge..
is the applicaton frame fixed to the browser frame? is there an
override for this?
I know these are a bit basic questions, but I did not find answers to
such in the site..
This scrolling is omitted somewhere in the qooxdoo.css. This is because
the most well-designed applications does not allow scrolling the main
frame, but move the scrolling to the seperate parts of the app. Please
take a look at Outlook(TM) for example. They have scrollbars in the
tree, the listview, the messageview, but not in the window itself. This
is why qooxdoo comes with this as the default style, too.
But if you change this in CSS the most stuff should work too with some
restrictions. A typical top=0, bottom=0 (or percent height) for any
widgets directly in the client document does not use this more space
through the scroll height. Instead this always use the offsetHeight (not
the scrollHeight).
Hope this helps.
Sebastian
Thanks
Russell
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel