Results 1 to 5 of 5

Thread: QDialog margin and spacing

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2006
    Location
    Sweden
    Posts
    99
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default Re: QDialog margin and spacing

    screenshot.jpg

    As you can see in the attached screenshot, the cde, motif and windows styles force the dialog to have a margin and spacing. It's most apparent in cde and motif. Cleanlooks, plastique and WindowsXp do not produce a noticable margin and spacing.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: QDialog margin and spacing

    Looks weird, indeed. I'd suggest opening a new task at the task-tracker.
    J-P Nurmi

  3. #3
    Join Date
    Jun 2006
    Location
    Sweden
    Posts
    99
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    11
    Thanked 3 Times in 3 Posts

    Default Re: QDialog margin and spacing...Solved!

    Apparently, the discrepancy is due to the autodefault property:

    http://doc.trolltech.com/4.2/qpushbu...toDefault-prop

    And hats off to trolltech for their speedy reply to my query.

  4. The following user says thank you to TheRonin for this useful post:

    jpn (29th October 2007)

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.