• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10 Aug 2011 05:45 AM by  Murali Setty
(SOLVED) Refining Autosize of buttons
 1 Replies
Sort:
Topic is locked
Author Messages

Andy Langowitz



New Member


Posts:
New Member


--
09 Aug 2011 04:51 PM
    Is there any way to control the size of buttons short of setting Autosize to false? I like the Framework's auto sizing of buttons and their text to fit the device, but I'd like them a touch smaller.
    0

    Murali Setty



    New Member


    Posts:
    New Member


    --
    10 Aug 2011 05:45 AM

    Hi Andy,

    By setting the FontSize style of Button control, the AutoSize can be overriden. To have this set to all Button instances of the web application you can make use of skin file having the Button FontSize style set to required size.

    Make use of the Style control with contditions, if you wish to have customized Font size depending on the screen size. Please refer to the default themes files which has such implementation as a quick guide.

    Thanks,

    Murali
    0
    Topic is locked