HMI Pad Forums Main Forums Feature Requests Different Font Size for iPad and iPhone

This topic contains 2 replies, has 2 voices, and was last updated by  gregM 6 years, 9 months ago. This post has been viewed 2009 times

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #20778


      Title pretty much says it all.

      Different font sizes on Objects for iPad and iPhone would be nice.

      Buttons, Labels, Textboxes…. etc, etc.



        Hi Greg,

        On HMI Draw/View you can use the $System.interfaceIdiom property to determine whether you are on an iPhone/iPod or on an iPad.

        For example, in the case of a font size you can use the expression below to set it to 18 for the iPad and 15 otherwise.

        $System.interfaceIdiom==1 ? 18 : 15



          Perfect! thanks. :-)

        Viewing 3 posts - 1 through 3 (of 3 total)

        You must be logged in to reply to this topic.

        Copyright © SweetWilliam, S.L 2009-2013. All rights reserved.
        Science and Technology Park of the University of Girona, Emili Grahit, 91 (NarcĂ­s Monturiol building, Office P3-B03) 17003-Girona. Phone +34972183244