Monday, September 8, 2008

Hi everyone,
It has been a long time that I have written something thoughtful about Flex or Usability. I was suffering from what they call 'writers block'. So I thought why not to try and write something which is very useful yet simple. How many times have we been in a situation to put an ‘Icon’ on a button? Well it is very easy in Flex to add an icon on your beloved button. However, if the situation demands you to move your icon all over the places on the button then how does it feel?? You will not find any property called as iconPlacement or something like that. So then if the Icon does not move here and there, then let us move the button label. Logic isn’t it? So here it, a simple property that makes like quite easy and it is called ‘labelPlacement’. Below is a simple application which describes the power of this property. You can check the source code here

3 comments:

Ameya Pimpalgaonkar said...

Fantastic application rahul, i was working on a development of some UIs and i had to create multiple images for moving the lable from right to left. Is this possible to achieve in webdynpro or portal development?

Anonymous said...

And what about the PopupButton?

jon said...

jon said...
Hi Rahul,Congratulations - it seems like you had an eventful and
achievement-filled year! Nice summation of all your activities