Text alignment in pulldowns
Posted: Thu Dec 04, 2014 12:52 am
The textAlign property of any of the four "pullDown" style buttons works as advertised once the selection is made. But the alignment is always left-justified when the actual gadget is "open". If I have the following in the contents of the button, for example:
Select A Letter
A
B
C
I have had (just to improve the looks of these things during the actual selection process) to pad the menuItems with spaces. But I have to be careful, I must remember to extract the first word of the selectedText, and not just the selectedText itself.
That sort of thing. So am I missing something simple? Or is this an OS thing?
Craig Newman
Select A Letter
A
B
C
I have had (just to improve the looks of these things during the actual selection process) to pad the menuItems with spaces. But I have to be careful, I must remember to extract the first word of the selectedText, and not just the selectedText itself.
That sort of thing. So am I missing something simple? Or is this an OS thing?
Craig Newman