Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to automatically adjust QWidget text on pc with different resolutions ?
QtWS25 Last Chance

How to automatically adjust QWidget text on pc with different resolutions ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 658 Views
  • 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.
  • AhtiA Offline
    AhtiA Offline
    Ahti
    wrote on last edited by
    #1

    Hi
    How can i adjust QWidget text on different resolutions ?
    This is what i mean :-

    this is how my app looks on pc with full hd ( 1920 X 1080 ) pc
    https://postimg.org/image/bnidz0r2r/
    this is how my app looks on pc with hd ( 1440 X 900 ) pc
    https://postimg.org/image/96mvvllbj/

    as you can see the QWidget text is not been adjusted automatically so how can i do the same ?

    note: i am not using any layouts in my code.

    thanks

    what is a signature ?? Lol

    EddyE 1 Reply Last reply
    0
    • AhtiA Ahti

      Hi
      How can i adjust QWidget text on different resolutions ?
      This is what i mean :-

      this is how my app looks on pc with full hd ( 1920 X 1080 ) pc
      https://postimg.org/image/bnidz0r2r/
      this is how my app looks on pc with hd ( 1440 X 900 ) pc
      https://postimg.org/image/96mvvllbj/

      as you can see the QWidget text is not been adjusted automatically so how can i do the same ?

      note: i am not using any layouts in my code.

      thanks

      EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by Eddy
      #2

      @Ahti said in How to automatically adjust QWidget text on pc with different resolutions ?:

      note: i am not using any layouts in my code.

      If you do, the layout system will take care of it.

      Is there a special reason why you don't want to use Layouts?

      Eddy

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      3
      • ibiaI Offline
        ibiaI Offline
        ibia
        wrote on last edited by ibia
        #3

        As @Eddy said, I think that you should simply use Layouts.

        1 Reply Last reply
        1

        • Login

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