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. Formatting Object in Form Layout
Forum Updated to NodeBB v4.3 + New Features

Formatting Object in Form Layout

Scheduled Pinned Locked Moved Unsolved General and Desktop
35 Posts 3 Posters 5.0k Views 3 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #26

    Tried it...no change.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #27

      Since it's a designer created widget, would it be possible to post the source of that widget so we can take a look at it ? I'm running out of ideas.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #28

        link

        Thanks for looking...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #29

          Sorry but I have a 404 error for that link.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • mzimmersM Offline
            mzimmersM Offline
            mzimmers
            wrote on last edited by
            #30

            Odd...so do I now. Let's try again with another host:

            link

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #31

              Worked !

              But it's requiring IpSource which is rightfully missing

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • mzimmersM Offline
                mzimmersM Offline
                mzimmers
                wrote on last edited by
                #32

                Here's ipsource.ui:

                link

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #33

                  Making it IpSource a simple QWidget with the two radio buttons in a vertical layout from which your put all margins to 0 seems to do the trick.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  2
                  • mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #34

                    Yes it does. That's kind of wild.

                    I'm not quite sure what this says about the QFrame and QGroupBox classes, but I guess the answer is not to use either inside a grid if you care about your spacing.

                    Anyway, thanks for chasing this down.

                    kshegunovK 1 Reply Last reply
                    0
                    • mzimmersM mzimmers

                      Yes it does. That's kind of wild.

                      I'm not quite sure what this says about the QFrame and QGroupBox classes, but I guess the answer is not to use either inside a grid if you care about your spacing.

                      Anyway, thanks for chasing this down.

                      kshegunovK Offline
                      kshegunovK Offline
                      kshegunov
                      Moderators
                      wrote on last edited by
                      #35

                      @mzimmers said in Formatting Object in Form Layout:

                      I'm not quite sure what this says about the QFrame and QGroupBox classes, but I guess the answer is not to use either inside a grid if you care about your spacing.

                      It may be that they add spacing for a title label (at least the group box should) or there's some margin set which isn't apparent from the designer. In any case @SGaist's advice is valid - use QWidgets as placeholders in 95% of cases.

                      Read and abide by the Qt Code of Conduct

                      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