Can't resize QSplitter's children after customization
-
Thanks Gerolf
There is a mistake in my original stylesheet
Now I can resize the splitter's children
It should be
@QSplitter::handle:vertical {
color: rgb(145, 145, 145);
height: 1px;
}@
But setting color to rgb(145, 145, 145) doesn't change the splitter's appearance
Is subclassing QSplitter and QSplitterHandlethe the only way to change the splitter's appearance to a plain straight line? -
Hi...
I am also facing similar problem...like this..
I have set the stylesheet of my QSplitter as@
parentsplitter->setStyleSheet("QSplitter { border-color: rgb(255, 0, 0); color: rgb(145, 145, 145); height: 5px;background-color: rgb(225,230,234); }");@
But i can see only the background color of my QSplitter is getting changed, but i want to change my border color of QSplitter from my main window..
Please help me on this..