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

Forums

OverviewFelgo 2 Support (Qt 5) › About the difference between Felgo Live Client and the actual display.

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

    森林木

    I found that the size of the element displayed on the Felgo Live Client is very different from the size displayed on the real device, which is much larger on the Felgo Live Client.The key is that the display ratios on both sides are not the same.

    Has anyone encountered this problem, thanks!

    E.g.

    AppButton {
        minimumWidth: 100
        minimumHeight: 100
        text:"HELLO"
    }

     

    #23761

    Alex
    Felgo Team

    Hi,

    the AppButton uses Qt Quick Controls internally, which could be affected by platform scaling settings that the Live Client applies by default.

    Please use dp() values instead, like dp(100), to get resolution and density independent sizes.

    Best,
    Alex

    #23772

    森林木

    Thank you, it has been resolved.

Viewing 3 posts - 1 through 3 (of 3 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