Is there a way to style VC ClickAndGo Square smaller?

All the topics related to QLC+ on the Raspberry Pi
Post Reply
BillDoE
Posts: 31
Joined: Fri Apr 05, 2019 6:23 am
Real Name: Bill K

RPI 4b 4.12.2 img

I know a little about how to make stylesheets qss but that's one thing I haven't been able to change is the RGB ClickAndGo Slider Button size.
I would love to make them the same width as the Slider Handle.
RPi4b 4GB
User avatar
mcallegari
Posts: 4807
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Some elements of the UI are already customized via source code, therefore they cannot be customized via stylesheets.
Click & Go is one of them, sorry.
BillDoE
Posts: 31
Joined: Fri Apr 05, 2019 6:23 am
Real Name: Bill K

Ok Thank you.
The oversize fonts were squishing the sliders so there was no movement.

I was able to fix most of my oversize problems setting the width and height of eglfs in Millimeters for 1920x1080.
/etc.init.d/qlcplus
export QT_QPA_EGLFS_PHYSICAL_WIDTH=508
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=285

I still couldn't get the default fonts to play nice.
I just used regex to change the show.qxw most of the default fonts to (DejaVu Sans,8,-1,5,50,0,0,0,0,0)



PS: in the PDF manual /etc/init.d/ is mistyped /etc/init.t/
RPi4b 4GB
BillDoE
Posts: 31
Joined: Fri Apr 05, 2019 6:23 am
Real Name: Bill K

I went and changed the /ui/src/virtualconsole/vcslider.cpp size to 30x30. I like it a whole lot better.

Love this program btw.
Thanks
RPi4b 4GB
Post Reply