Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Remove central widget border.

    General and Desktop
    3
    5
    421
    Loading More Posts
    • 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.
    • C
      Carlos Delgado last edited by Carlos Delgado

      Hi, does anyone know how to remove this border...

      Captura.PNG

      I only have the central widget, with a horizontal layout, and a frame and a push button inside.
      I've already tried to set the margin, padding, and spacing to 0 and more things, I'm kinda stuck.

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Which border exactly ?
        How are you building your widget ?

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

        C 1 Reply Last reply Reply Quote 1
        • C
          Carlos Delgado @SGaist last edited by

          @SGaist The border between the window border and the frame, I don't really see anything in the properties panel that I can change.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            Did you also set the content margins to 0 ?

            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 Reply Quote 2
            • Pl45m4
              Pl45m4 last edited by

              @Carlos-Delgado I think it's the same as requested here. Have a look at this topic :)

              • https://forum.qt.io/topic/123755/qmainwindow-unable-to-position-widget-to-extreme-left

              If debugging is the process of removing software bugs, then programming must be the process of putting them in.

              ~E. W. Dijkstra

              1 Reply Last reply Reply Quote 2
              • First post
                Last post