Results 1 to 2 of 2

Thread: QLabel overlaping qProgressBar

  1. #1
    Join Date
    Dec 2015
    Posts
    1
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default QLabel overlaping qProgressBar

    Hi, guys.
    Problem is that QLabel (5/5) is overlapping qProgressBar (green bar 43%) in QTableWidget cell.
    How to hide QLabel when column MO. is resizing or just stop resizing then label starts overlapping progressbar?

    Снимок.JPG

  2. #2
    Join Date
    May 2015
    Posts
    66
    Thanks
    10
    Thanked 17 Times in 17 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QLabel overlaping qProgressBar

    Make sure the "MO." column cannot be resized beyond a minimum width.

    Qt Code:
    1. table.horizontalHeader()->setMinimumSectionSize(minSize);
    To copy to clipboard, switch view to plain text mode 
    Last edited by Vikram.Saralaya; 11th December 2015 at 12:23.

Similar Threads

  1. geting QLabel text ontop of other QLabel displaying image
    By krystosan in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2013, 17:35
  2. overlaping QGraphicsItem-s hover events
    By stefan in forum Qt Programming
    Replies: 4
    Last Post: 22nd August 2011, 19:02
  3. Overlaping forms
    By ysuran in forum Newbie
    Replies: 0
    Last Post: 24th August 2010, 08:14
  4. Replies: 1
    Last Post: 29th September 2009, 19:44
  5. Find point of intersection/overlaping?
    By Morea in forum Qt Programming
    Replies: 9
    Last Post: 19th April 2007, 14:42

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.