Jump to content

GUI: Allow use of variables or classes in .ui files


photo

Recommended Posts

Posted

It would make consistent styling within UI elements a lot simpler if this were possible:

 

<variable name="myPadding" value="5"/>

<hbox padding="myPadding"></hbox>

<hbox padding="myPadding"></hbox>

 

It would be even better if CSS-style classes were available.

Posted

Thanks for the suggestion, Jeremy!

 

I'll talk with the team yet can't guarantee it'll be in the next SDK release as we have tasks with higher priority now.

×
×
  • Create New...