Important: Please read the Qt Code of Conduct -

Problem in using splitter

  • I have a problem in using a horizontal splitter. The control above the splitter is a QTableView containing some basic information for BMP image files. The control below is a QLabel widget displaying a BMP image.

    Sometimes the BMP image in QLabel is very large, so I need to adjust its display size by dragging the horizontal splitter.

    But when I drag the horizontal splitter down to make the BMP image smaller, the whole of the BMP file will hide, instead of becoming smaller.

    How to solve this problem?

  • Lifetime Qt Champion


    Do you mean that it doesn't resize at all ?

Log in to reply