|
Re: Upgrading to qooxdoo 8.2 anytime soon? [message #127879 is a reply to message #127853] |
Tue, 14 April 2009 08:40 |
|
Howard,
> Any time frames on this?
> Getting ticket 215015 resolved would be awesome.
I'm sorry, but this is impossible before the 1.2 release. After this,
we'll have to decide how to proceed with qx. However, do to massive API
changes on the qx side, upgrading to 8.x will take several months.
And as we didn't get many requests for the TabFolder, it's rather low on
our priority list. Again, sorry.
> Keep up the awesome work!
Thanks! Ralf
|
|
|
Re: Upgrading to qooxdoo 8.2 anytime soon? [message #127901 is a reply to message #127879] |
Tue, 14 April 2009 09:02 |
Rüdiger Herrmann Messages: 581 Registered: July 2009 |
Senior Member |
|
|
To work around the missing TabFolder overflow, you could consider
using the CTabFolder that has this functionality.
Alternatively, implementing a TabFolder-like widget out of Buttons
and a custom layout shouldn't take too long either.
HTH
Rüdiger
Ralf Sternberg wrote:
> Howard,
>
>> Any time frames on this?
>> Getting ticket 215015 resolved would be awesome.
>
> I'm sorry, but this is impossible before the 1.2 release. After this,
> we'll have to decide how to proceed with qx. However, do to massive API
> changes on the qx side, upgrading to 8.x will take several months.
>
> And as we didn't get many requests for the TabFolder, it's rather low on
> our priority list. Again, sorry.
>
>> Keep up the awesome work!
>
> Thanks! Ralf
|
|
|
|
Re: Upgrading to qooxdoo 8.2 anytime soon? [message #127977 is a reply to message #127954] |
Tue, 14 April 2009 20:31 |
|
Hi,
Howard wrote:
> Yup, didn't think that was happening...thought I'd ask though. :)
>
> Unfortunately CTabFolder allows changing the order of tabs, which is an
> undesired behavior for my app. But maybe I can convince the PM on the
> quick fix.
Did you try to set CTabFolder#setMRUVisible() -> false? In this mode,
the order of the items is not changed.
> I may have to go with the custom tab built with buttons style...which is
> what I would prefer to do but it'll probably take longer than I can
> afford. Curious though, is there a way to lazy load/build the
> non-selected tab instead of having to build them all at the same time?
You can create the item's contents lazily in a SelectionListener on the
CTabFolder. Actually, this is what we do in our ControlsDemo:
topFolder.addSelectionListener( new SelectionAdapter() {
public void widgetSelected( final SelectionEvent evt ) {
int index = topFolder.getSelectionIndex();
tabs[ index ].createContents();
}
} );
The createContents() method creates the item contents if they aren't yet
created.
Hope this helps,
Ralf
|
|
|
|
|
Re: Upgrading to qooxdoo 8.2 anytime soon? [message #128366 is a reply to message #128288] |
Thu, 16 April 2009 20:28 |
|
Howard wrote:
> Duh, the selectionListener on the TabFolder, not the tabs!
>
> Good stuff...I definitely need to look into this when I get the time.
> Is the lazy unloading also part of the Controls Demo?
No. The controls demo does not unload contents.
Ralf
|
|
|
|
Powered by
FUDForum. Page generated in 0.02557 seconds