That sort of thing is more involved, I'm afraid; you have to change the 
control. I don't know offhand if the XUI commit binding mechanism can be made 
to work with only XUI change -- I kind of doubt it. If not, you'll have to  
change the c++ event handlers from 4 individual event handlers to one that does 
all 4 things on change of the combo_box.

It's probably worth some spelunking through XUI to see if there's an example of 
binding the combo box; if not, I bet one of the devs around here would help you 
write the C++ changes to make it work.

    Q

On Oct 6, 2010, at 11:04 PM, SuezanneC Baskerville wrote:

> Thanks, Kent, I'm glad I asked. 
> 
> The keystroke, by the way,  appears to be Control Shift T, not Control Alt T, 
>  on my XP system running the Development Viewer.  
> 
> I'd like to replace the Focus, Move, Edit, Create, and Land buttons with a 
> list, I suppose a combo_box, to save horizontal space.  How does one do that?
>  
> 
> ------------------------------
> 
> Message: 7
> Date: Wed, 6 Oct 2010 22:30:51 -0400
> From: "Kent Quirk (Q Linden)" <q...@lindenlab.com>
> Subject: Re: [opensource-dev] How is the XUI part of the interface
>        designed?
> 
> There's no GUI editor. However, there is a nice little assistance tool. From 
> the login screen ONLY, you can invoke the GUI Preview tool by hitting 
> alt-ctrl-T (or cmd-ctrl-T on a Mac). It will bring up a dialog that you can 
> use to display any of our dialog boxes, in two languages at once if you want. 
> If you configure it, you can also have it open the dialog file in your text 
> editor, and the "show rectangles" checkbox makes it easy to see which parts 
> of the dialog have which names.
> 
> If you edit a dialog, you can show and hide it, and it will reload. So you 
> should be able to experiment with a layout rather easily; it's not a live 
> graphical editor, but it makes it pretty easy to edit. Just realize the 
> dialogs are not "live", and so sometimes things won't look right, or may have 
> overlapping fields because only one of them is visible at any given time.
> 
>        Q
> 
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges

_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to