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. screen resolution for font size
Forum Updated to NodeBB v4.3 + New Features

screen resolution for font size

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 4 Posters 2.3k 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.
  • D Offline
    D Offline
    Dimple
    wrote on last edited by
    #1

    hi guys ,,
    please suggest me to fix this issue??
    app screen dimensions(height x width) is fixed my pc max. screen resoultion is 1366*768 pxls,,,problem is who has higher resolution than me ,in their pc font size is showing very small & jumbled !!!! even i didnt apply layout to any Ui pages ,,,if i use layout i can make flexible ,,,is there any solution without applying layout can i fix label font size ??0_1548074909164_issue2.jpeg

    jsulmJ J.HilkJ B 3 Replies Last reply
    0
    • D Offline
      D Offline
      Dimple
      wrote on last edited by
      #12

      @Bharth
      Thanks i got solution ,,,,problem solved

      1 Reply Last reply
      0
      • D Dimple

        hi guys ,,
        please suggest me to fix this issue??
        app screen dimensions(height x width) is fixed my pc max. screen resoultion is 1366*768 pxls,,,problem is who has higher resolution than me ,in their pc font size is showing very small & jumbled !!!! even i didnt apply layout to any Ui pages ,,,if i use layout i can make flexible ,,,is there any solution without applying layout can i fix label font size ??0_1548074909164_issue2.jpeg

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @Dimple Why don't you want to use layouts?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Dimple
          wrote on last edited by Dimple
          #3

          thanks for ur reply
          because of loading bar(gif image) it was not displayig at middle of the screen ,,it was showing at centre of the screen when i maximize screen but it was not showing at centre when i clicked on restore down button so removed layout,,,even to rotate loading image i wanted to use QDialog if i use QDialog it creates one more window to show loading image so removed layout

          jsulmJ 1 Reply Last reply
          0
          • D Dimple

            thanks for ur reply
            because of loading bar(gif image) it was not displayig at middle of the screen ,,it was showing at centre of the screen when i maximize screen but it was not showing at centre when i clicked on restore down button so removed layout,,,even to rotate loading image i wanted to use QDialog if i use QDialog it creates one more window to show loading image so removed layout

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #4

            @Dimple It rather sounds like you did not use the layouts correctly for your use case...

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • D Offline
              D Offline
              Dimple
              wrote on last edited by
              #5

              i had used layout correctly even i tried for solution but didn't get solution "how to place label in layout at centre" so removed layout everywhere

              1 Reply Last reply
              0
              • D Dimple

                hi guys ,,
                please suggest me to fix this issue??
                app screen dimensions(height x width) is fixed my pc max. screen resoultion is 1366*768 pxls,,,problem is who has higher resolution than me ,in their pc font size is showing very small & jumbled !!!! even i didnt apply layout to any Ui pages ,,,if i use layout i can make flexible ,,,is there any solution without applying layout can i fix label font size ??0_1548074909164_issue2.jpeg

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #6

                @Dimple
                Take a look at this page of the docu:

                It describes how to use the dimensions of your display to adjust font sizes, seems like what you're looking for.

                Besides that, you should really look into using Layouts, you will have a much easier and less stressful time in the future.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                2
                • D Offline
                  D Offline
                  Dimple
                  wrote on last edited by
                  #7

                  @J-Hilk ,,,,i have one question
                  how to show at a time 2 widgets
                  one widget (front widget ) should be tranparent
                  0ne widget(backside widget) should not be transparent ???

                  J.HilkJ 1 Reply Last reply
                  0
                  • D Dimple

                    @J-Hilk ,,,,i have one question
                    how to show at a time 2 widgets
                    one widget (front widget ) should be tranparent
                    0ne widget(backside widget) should not be transparent ???

                    J.HilkJ Offline
                    J.HilkJ Offline
                    J.Hilk
                    Moderators
                    wrote on last edited by
                    #8

                    @Dimple take a look into this thread

                    My answer there still holds true to your question.

                    • Gridlayout via manually calling addwidget
                    • overriding resizeEvent and placing the widgets manually.

                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Dimple
                      wrote on last edited by
                      #9

                      @J-Hilk :- thanks for ur reply
                      custom widget or Ui ??

                      J.HilkJ 1 Reply Last reply
                      0
                      • D Dimple

                        @J-Hilk :- thanks for ur reply
                        custom widget or Ui ??

                        J.HilkJ Offline
                        J.HilkJ Offline
                        J.Hilk
                        Moderators
                        wrote on last edited by
                        #10

                        @Dimple said in screen resolution for font size:

                        @J-Hilk :- thanks for ur reply
                        custom widget or Ui ??

                        you need to clarify that question, I don't know what you mean.

                        Widgets are ui elements, custom widgets can be part of the designer....


                        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                        Q: What's that?
                        A: It's blue light.
                        Q: What does it do?
                        A: It turns blue.

                        1 Reply Last reply
                        0
                        • D Dimple

                          hi guys ,,
                          please suggest me to fix this issue??
                          app screen dimensions(height x width) is fixed my pc max. screen resoultion is 1366*768 pxls,,,problem is who has higher resolution than me ,in their pc font size is showing very small & jumbled !!!! even i didnt apply layout to any Ui pages ,,,if i use layout i can make flexible ,,,is there any solution without applying layout can i fix label font size ??0_1548074909164_issue2.jpeg

                          B Offline
                          B Offline
                          Bharth
                          wrote on last edited by
                          #11

                          @Dimple use resize event() refer this link
                          https://forum.qt.io/topic/15831/solved-how-to-overlap-widgets/3

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            Dimple
                            wrote on last edited by
                            #12

                            @Bharth
                            Thanks i got solution ,,,,problem solved

                            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