PDA

View Full Version : maya simple textFieldButtonGrp issue


Zhbdcafe
07-21-2012, 07:03 AM
Hi, i want to create a textFieldButtonGrp with a text label, a text field and a folder image button like this
http://i48.tinypic.com/2gxifqg.png
But i can't create the image button. i can create just like
http://i48.tinypic.com/oa6nut.png
can anyone help please

NaughtyNathan
07-21-2012, 12:02 PM
the textFieldButtonGrp command only creates a textField with a standard button, and standard buttons don't support images. However, any UI control that ends in "Grp" is simply a layout shortcut, so a textFieldButtonGrp is actually just a pre-packaged rowLayout with a text, textField, and button children.

If you want to create the same thing with a symbolButton just create it manually. It's actually very little more effort, no harder and far more versatile.

Zhbdcafe
07-21-2012, 03:23 PM
the textFieldButtonGrp command only creates a textField with a standard button, and standard buttons don't support images. However, any UI control that ends in "Grp" is simply a layout shortcut, so a textFieldButtonGrp is actually just a pre-packaged rowLayout with a text, textField, and button children.

If you want to create the same thing with a symbolButton just create it manually. It's actually very little more effort, no harder and far more versatile.


Thank u nathan. i will try this way

CGTalk Moderation
07-21-2012, 03:24 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.