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.

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