Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › AppText and AppTextField font.pointSize or font.pixelSize is not working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17422

    Felgo User

    Hi,

    I am new to developing apps and came across Felgo. It looks good but I happen to run into funny issues.

    Now I am stuck on changing the font size of either an AppText or AppTextField. It does not appear to work when I deploy the app to an Android phone or over the emulator.

     

    I also noticed somthing else as well. When I apply the font weight to be bold and run the app, it gives a black blank screen and nothing appears. Not the Felgo splash screen nor my own app. Just blank screen.

     

    Please assist.

    Musa

    #17426

    Günther
    Felgo Team

    Hi,
    welcome to Felgo – we’re happy to have you on board!

    How are you setting the font size in your app? To achieve the same font-size across different devices / screen resolutions, you can set a density-independent font.pixelSize size with App::sp. For more information please have a look at Support Multiple Screen Sizes and Densities with Felgo Apps.

    About the black screen: Can you provide a minimum example QML code that shows the black-screen on your device with font.bold?

    Best,
    Günther

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

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded