Hi Torsten!

On Mon, 2007-09-03 at 05:06 -0700, westor wrote:
> Two of my question I asked here last week stayed unsolved. May be, someone
> has any answer for me?
> 
> 1. As the example Inline_1.html maintains, it is possible to have scrollbars
> in browser window, if I use inline widgets (qx.ui.basic.Inline). I couldn't
> bring this to work. The example itself does not show scrollbars, if I put a
> plenty of content in the window.
> I think I have to write something with qx.core.Settings... ???

qooxdoo is typically used for building web applications that look and
behave like their native desktop cousins. Since the main window of those
apps (or any dialog box) never has any scrollbars, they are also
disabled in qooxdoo by default.

To enable scrollbars on the client document, please change the setting
(default defined in qx.ui.core.ClientDocument), e.g. include the
following in a <script> block before the your application js is
included:

qxsettings["qx.enableApplicationLayout"] = false;

Unfortunately, this info seems to be missing from the docs (maybe due to
some renamings or reorganization). Would you just file a bug for that,
please?

> 2. Events: what exactly do event.stopPropagation() and
> event.preventDefault() do? May be I didn't understand the event chain but
> they never did what I expected... ;-)

While missing in 0.7.x, this is now documented in the trunk. Basically,
they do what they say: stopPropagation() prevents further propagation of
an event (e.g. bubbling), while preventDefault() will not let the
browser react natively to the event (e.g. opening a context menu).

Bye,

Andreas



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to