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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support