PDA

View Full Version : thin splitter



nikkymen
30th August 2011, 20:04
Is there a way to have a 1 pixel Graphical splitter and keeping a 5 pixels draggable area?
Help please..

jeanremi
31st August 2011, 10:16
Hi nikkymen,

You need to subclass from QSplitterHandle and set it as the splitter handle for your splitter. I can't remember the exact source from the top of my head (as I'm writing this).
Download Qt Creator source code and look for "MiniSplitterHandle.h" and see where it is used.

Jean