Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

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.