Results 1 to 5 of 5

Thread: Unwanted padding on QWidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    1

    Default Unwanted padding on QWidget

    I'm trying to add a generic widget (to be used as a container for other widgets) to a dock widget, and there's some padding I can't seem to get rid of. Can I overwrite this somehow? I've tried using stylesheets but no luck.

    In the attached image: said widget with orange background (for testing purposes) is sandwiched between two labels, with correct padding. Widget contains two other widgets in a couple layouts with default values.
    Attached Images Attached Images

Similar Threads

  1. Dynamic updates of a QWidget in a QScrollArea
    By plamkata in forum Qt Programming
    Replies: 2
    Last Post: 20th July 2008, 23:45
  2. Error in put one QWidget in another QWidget
    By xjtu in forum Qt Programming
    Replies: 1
    Last Post: 19th April 2008, 16:05

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.