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. Get device /Android or iPad/ default font scale
Forum Updated to NodeBB v4.3 + New Features

Get device /Android or iPad/ default font scale

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 559 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.
  • B Offline
    B Offline
    bence91
    wrote on last edited by
    #1

    Hi all.

    I would like to obtain the device default font scale when starting the app:
    For ex in case of Android device there are a few hardcoded font size values: normal, large etc.
    I have tried to get from Qt from default font object without success.
    Now I am trying to write a java class for obtaining font sizes: First problem: I am not able to call non static java method from Qt. In java I am not able to obtain font size from static method....

    Please give me some hints to solve this problem.
    Thank you very much!
    Have a nice day, bye,
    Bence

    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