hi, I inserted a toolBox from designer in MainForm; now from mainForm I'd like to control its width and do something like this:
(but it doesn't work, when I enlarge window app maximumToolBoxWidth block the window app width too...)Qt Code:
//paintGL() int widthWidget = this->width(); mainForm->toolBox->setMinimumWidth(widthWidget/4); mainForm->toolBox->setMaximumWidth(widthWidget/4);To copy to clipboard, switch view to plain text mode
I need set width of toolBox 1/4 of Widget (and when I resize my window app toolBox should be maintain 1/4 width)
How can I do this? Thanks
Bookmarks