gosha schrieb:
I am writing a navigation menu widget that should look and behave very similar to the left bottom control in outlook, which allows you to select which view mail/calendar/tasks/contacts etc you want to see current. Conceptually, in qooxdoo terms, it is a QxVerticalLayoutBox with bottom element being another QxHorizontalLayoutBox. Menu items are extension of QxAtom, which can be shown as either icon and text or just (smaller) icon.

Interesting.

Behaviorally, depending on available height, items should reflow from being expanded to being displayed as smaller icons at the bottom.

In my opinion this reflow seems to be a bit hard to implement.

So far, I had writen this widget in the 0.1.4 release version, but would like to rewrite it to be a good citizen in renderer.

This is a good idea. :)

What I do not fully understand is what is the best way to hook QxRadioManager to keep track of selected menu item.

Like shown in the QxRadioButtons. You must register each widget which should be a member of the same QxRadioManager to this manager. Furthermore you need a property checked inside your widgets.

I don't have the all details in my head. It would IMHO the best to just take a look at all these radio stuff already in there.

I also would like to ask, what are the best practices for handling dynamic resizing.

What do you exactly mean with this?

What would be very helpful, is some sort of overview of how people who wrote or used qooxdoo extensively would design this widget.

Your ideas above seems to be good. But I have currently no idea how to change the icon size or something like this if the parent gets to small. This is not so easily possible IMHO - because it's nowhere done already in qooxdoo.

Sebastian




-------------------------------------------------------
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

Reply via email to