Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Reducing border widths on qt designer forms
QtWS25 Last Chance

Reducing border widths on qt designer forms

Scheduled Pinned Locked Moved Brainstorm
2 Posts 2 Posters 2.1k 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
    Azukiirain
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      Hello. Welcome to Qt Developer Network!

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

      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