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 make frame(s) borders / lines invisible?

how to make frame(s) borders / lines invisible?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 638 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I find it handy to use "frame / scroll frame " and would like to make their border lines invisible AFTER the design is done.
    Mrs Google does not know how to to that....

    a95eb987-ab09-404e-aef9-66be9fad7676-image.png

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Yes, you can select the frame and in its properties set frameShape to NoFrame.

      But I have to ask - if you have a frame with one widget inside and you don't want the frame to be visible... why do you need the frame at all? It's just waste and overhead. Also why put the list widget inside a scroll area? A list widget already scrolls when overflows, so what's the point? Looks like a lot of unnecessary complication when you could have something simple like this that is functionally equivalent:

      SimpleLayout

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        I started using "frame" to copy QDesigner "complex" forms.

        1 Reply Last reply
        0
        • Chris KawaC Offline
          Chris KawaC Offline
          Chris Kawa
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I don't know what that means but it's completely unnecessary here.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SimonSchroeder
            wrote on last edited by
            #5

            If you nest several widget you might also want to reduce the content margins (at least of some widgets) to 0. When you scroll down in the object properties widgets at the bottom you will find (in red) the settings for the widgets layout. QTabWidget is a little tricky here as you need to make one tab current and then click on the QTabWidget (instead of the single page) to see the layout of the page.

            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