locked
Increase font size of lightswitch html application for google chrome RRS feed

  • Question

  • Hi 

    My lightswitch html application looks grate in ie, but in google chrome everything gets so tiny, the font size and the size of all elements

    So how can i change that?

    Thanks


    • Edited by M. Lerner Monday, February 16, 2015 3:07 AM
    Monday, February 16, 2015 3:07 AM

Answers

  • HI Lerner,

    Welcome to Lightswitch forum.

    For this issue, you can use some chrome debug skills to troubleshoot, perhaps it can give some hints why this happens, such as: Debugging JavaScript in Chrome

    If you can also change the font type/face/size manually in LighSwitch HTML client, handle the postRender for any content item and either sets the CSS styles directly or add a predefined CSS class.

    myapp.Browse.Property1_postRender = function (element, contentItem) {
        $
    (element).css({
           
    "font-family": "Times New Roman",
           
    "font-style": "italic",
           
    "font-size": "20px"
       
    })
    Further information: Change the font type/face/size in Lightswitch

    Hope it helps.

    Best regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    • Edited by Angie Xu Wednesday, February 18, 2015 6:57 AM
    • Marked as answer by Angie Xu Tuesday, February 24, 2015 11:28 AM
    Wednesday, February 18, 2015 6:57 AM