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 ?