Creating List-Edit widget

mrmclovin

06-01-2010 18:26:55

Hello!

Im working on my editor. Now I'm in the need of a list which you can change the item name/label just like the Edit widget. So if you hover the mouse over the "left" side of the name you're in select mode, while when you hover over the right side you will have the edit mode. This is the first time I customize widget. Can you pinpoint me which files/classes I should look at, which to be inherited and overridde?

Altren

07-01-2010 03:34:43

I still don't understand what exactly you want to get. Is it something similar to what we have in LayoutEditor properties panel?
I got part with list of edits, but don't understand about "left" and "right" sides.

mrmclovin

07-01-2010 18:26:36

Like this:, think of this as a List .. right/left side is defined split 50% of the List's width

Left side | Right side
-------------------------
Click me o|r Edit me |
-------------------------
Click me o|r Edit me |
-------------------------
Click me o|r Edit me |
-------------------------
Click me o|r Edit me |
-------------------------

Altren

08-01-2010 02:58:49

I think you should do next thing: create ItemBox with vertical scroll, ItemBox item is line that width is equal to ItemBox client area width. It is possible to use any complex widgets fir items inside ItemBox.