That worked great. We went with the direct approach and modified the status
bar without subclassing it.
var statusBar = myWin._getChildControl("statusbar");
// add whatever you like the the statusbar
statusBar.add(...);
You can also modify the HBox layout by grabbing the layout for the composite
container through:
var myStatusBarLayout=statusBar.getLayout();
Then you can set different properties on the HBox if needed.
Alexander Back wrote:
>
> Hi Paul,
>
> I'm assuming you're using qooxdoo 0.8 ...
>
> Paul Morel wrote:
>> Hello All,
>>
>> We've spent some time trying to extend and/or modify the behavior of the
>> window status bar. Currently it is limited to just a single left
>> justified
>> label. While this is useful, we would like the ability to place other
>> information in the status bar using a canvas layout or HBox layout.
> The statusbar widget is a childcontrol of the window widget and is
> itself a "qx.ui.container.Composite" equipped with a HBox layout.
>
>> Our goal was to have both available using the standard QX status bar as
>> it is
>> today as well as enable a richer version of it with the ability to add
>> layouts or other objects to it. Unfortunately we have not had a lot of
>> success so far.
>>
>> Has anyone been successful in extending the status bar for something like
>> this?
> To achieve this you can either subclass the window widget and customize
> the "_createChildControlImpl" method which is used to composite the
> several child control widgets.
> Or you can access the statusbar child control by
>
> --snip--
> var statusBar = myWin._getChildControl("statusbar");
> // add whatever you like the the statusbar
> statusBar.add(...);
> --snip--
>
> Hope this helps,
> Alex
>
> -------------------------------------------------------------------------
> 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
>
>
--
View this message in context:
http://www.nabble.com/Enable-more-capability-in-window-status-bar-tp20273764p20323002.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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