Reminder.
29.04.2020 14:10 tarihinde serkan yazdı:
Hi,
I have three questions may be someone have time can help.
1. What should be the default behavior of the button with label,
should extend width according to label width or two line button ?
current is two line button.
sample :
<mx:Button id="statuFilterButton"
label="Select Filter" click="createAndShow();"/>
2. When setting width according to label length; gives WARNING in
compiler and exception in console but displays well, should i disregard ?
sample :
<mx:Button id="statuFilterButton"
width="{statuFilterButton.label.length}" label="Select Filter"
click="createAndShow();"/>
obj is string which is "Select Filter".
3. I have to get label from resources so it is dynamic. Or any other
suggestions to calculate the width and set ?
Thanks,
Serkan