Forums > Dev

Attribute Styles

November 1, 2009 | 10:44 pm

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


November 2, 2009 | 2:11 pm

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


Viewing 2 posts - 1 through 2 (of 2 total)