Results 1 to 4 of 4

Thread: zero'ing margin in a qhboxlayout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Posts
    29
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt3
    Platforms
    Windows

    Default zero'ing margin in a qhboxlayout

    i've got a simple widget that contains 2 children: a stackedwidget and a button. i applied a horizontal layout to it and was able to make all the margins zero.

    in the stackedwidget, there is a single lineedit on one page and a date/time edit on the other page, both with horizontal layouts. with these layouts, however, i can't seem to zero out the margins. this causes part of the lineedit or date edit to be cut off when the widget is a certain height, which it's supposed to be. i attached the ui file for reference. i just want the entire widget to be the exact height of the lineedit.

    how do i zero out these margins?

    thanks! -- lou
    Attached Files Attached Files

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.