Attribute Styles

Nov 1, 2009 at 10:44pm

Attribute Styles

Hi there,

I am trying to create an attribute that shares two different styles. Specifically, I am referring to the “fontsize” attribute, which comes standard in many UI objects. The “fontsize” attribute, when edited in the inspector, offers two different editing styles. The user can edit the size of the font directly in a textfield by typing the desired value. However, next to the textfield, there is also a drop-down menu with many common font sizes for faster selection. These two styles are basically condensed in one attribute. The standard attribute macros in ext_obex_util.h do not offer this option.

Can someone post some code that shows how to accomplish this behavior ?

Thanks.

- Luigi

#46244
Nov 2, 2009 at 2:11pm

There is no way to currently do that. It’s specific to a few attributes.

#166521

You must be logged in to reply to this topic.