Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Sizing from QT to Android Native
Forum Updated to NodeBB v4.3 + New Features

Sizing from QT to Android Native

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 337 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jhayar
    wrote on last edited by
    #1

    Hi,
    Anyone here has encounter this issue ?
    Sizing from Qt is different / much lower than the Android Native size .
    for example the width and height when using anchors.fill: parent
    on my waydroid device , the width from QT is 427 and height is 672 but when i checked from native side to get the parent width and height , i got 480 and 752 , this is some kind of weird i think i missed something that needs to do before sending size from QT to android native code , because of this issue the box that must be equal to its parent widget is smaller when sending the width and height value to native source code ,

    the purpose of this project is to use android custom native view to QT widget , this one is successful but the sizing is the only problem

    any thoughts ?
    sorry for the bad english thanks

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jhayar
      wrote on last edited by
      #2

      thread bump , anyone ?

      piervalliP 1 Reply Last reply
      0
      • J jhayar

        thread bump , anyone ?

        piervalliP Offline
        piervalliP Offline
        piervalli
        wrote on last edited by
        #3

        @jhayar
        Usually on Android I use qml I more easy create the UI.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved