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

Forums

OverviewFelgo 3 Support (Qt 5) › app.tablet fails on some devices

Tagged: 

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

    Carmelo

    Hello,

    in the documentation i found

     
    <div class=”qmlproto”>
    <div class=”table”>
    <table class=”qmlname”>
    <tbody>
    <tr id=”tablet-prop” class=”odd” valign=”top”>
    <td class=”tblQmlPropNode”>[read-only] tablet : bool</td>
    </tr>
    </tbody>
    </table>
    </div>
    </div>
    <div class=”qmldoc”>

    This read-only property gets true if the screen’s diameter is bigger than 6.7 inches.

     

    </div>
    But on a Samsung A8 5,6″ app.tablet is true.

    How this property works?

     

    Thank you.

    Carmelo.

    #19498

    Günther
    Felgo Team

    Hi Carmelo,

    The app determines the diameter of the application and translates the pixel value to the physical screen size based on factors like screen density. The calculated screen size versus real physical size of the device can be slightly off, but the Samsung A8 5.6” should fall into the phone category with less than 6.7 inch calculated diameter.

    Thanks for reporting the issue – we’ll have a closer why the calculation/detection fails in this case!

    Best,
    Günther

     

    #19499

    Günther
    Felgo Team

    Side question:

    Are you testing with a simple, minimum Felgo App or do you already have some more components / code involved?

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