Grasshopper

algorithmic modeling for Rhino

Hello everyone,

I'm adding some TextBoxes in a GH component via.


var a = GH_DocumentObject.Menu_AppendTextItem(menu, "0.4", null, txt_Change, false);

How can I add some explanatory text next to it (see picture below)?

Lorenzo

Views: 1218

Replies to This Discussion

You can't, if you want that you'll have to create a custom control containing both the textbox and a label, and embed that into the menu.

You could however add disabled menu items with explanations to the menu, followed by the relevant textbox and a separator. It would take more vertical space, but it would be easy to do and I think still pretty self-explanatory.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service