Re: StyleSheet for Layer Tree?
Posted by Jamason1182 on Mar 21, 2025; 7:07pm
URL: https://forum.librecad.org/StyleSheet-for-Layer-Tree-tp5726758p5726760.html
digging a little more, the only reference to the TreeView and StyleSheet in the source code shows:
librecad/src/ui/dock_widgets/layers_tree/lc_layertreewidget.cpp:126: treeView->setStyleSheet("QWidget {background-color: white;} QScrollBar{ background-color: none }");
So does that mean its forced white background?
Forgot to mention - i use a windows 10 box at work so this is in windows.
(fwiw I develop in linux - work won't let me run the compiler on the windows box and I have linux at home... so that was fun to setup cross-compiling with QT6 etc...)