Qt Forum

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

    Reducing border widths on qt designer forms

    Brainstorm
    2
    2
    1937
    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.
    • A
      Azukiirain last edited by

      Hi all,
      I have been working on some forms for a company and find myself stuck on very small, very irritating aspect.

      I am wanting the forms to be as small as possible, and unfortunately, each layout (to an extent) seems to stretch out to what i am assuming is its set minimum size, which takes up a HUGE amount of unnecessary space to the form

      example below, however, this doesnt look as bad as my actual form, which has a lot more "stuff" in it so the amount of wasted space is pretty significant

      http://i881.photobucket.com/albums/ac20/Iamnothingbutshadow/Screenshot2013-04-29at852_zps85e62cb2.jpg()

      I feel as if i've tried everything (non code related) and either im completely off the ball or there is some technique to this that I'm yet to understand. QT is still a relatively new platform to me so perhaps i just havent read enough about it

      1 Reply Last reply Reply Quote 0
      • T
        tucnak last edited by

        Hello. Welcome to Qt Developer Network!

        You always can set border for the widget with:
        @
        setStyleSheet("border: X");
        @

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