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

Forums

OverviewFelgo 2 Support (Qt 5) › Default size of simplerow with detailText

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19627

    Nicola

    Hi,

    which is the “constant” that has the value of the simplerow height with text and detailtext?

    N.

    #19628

    Alex
    Felgo Team

    Hi Nicola,

    the default size for a SimpleRow with only a text is dp(42) on iOS and dp(48) on Android. With detailText and image the size is dynamic, depending on the content. We already discuss setting up a doc page with those constants, as they can be quite handy to have some values to base custom layouts on.

    Cheers,
    Alex

    #19630

    Nicola

    With detailTex i mean with only one word in the details

    #19645

    Alex
    Felgo Team

    Hi Nicola,

    this is hard to say, as it is really dynamic depending on the content. On iOS it would roughly equal to dp(59), but not pixel perfect. On desktop the size can be different for iOS theme selected, as the font will be different, and thus the actual height of the text items. What’s your exact use case? If you make a custom row that should look native on mobile, you can aim for around dp(60) in height.

    Cheers,
    Alex

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