Page 1 of 1

Is there a way to style VC ClickAndGo Square smaller?

Posted: Tue Sep 17, 2019 11:27 pm
by BillDoE
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.

Re: Is there a way to style VC ClickAndGo Square smaller?

Posted: Wed Sep 18, 2019 7:09 am
by mcallegari
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.

Re: Is there a way to style VC ClickAndGo Square smaller?

Posted: Thu Sep 19, 2019 6:39 am
by BillDoE
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/

Re: Is there a way to style VC ClickAndGo Square smaller?

Posted: Wed Dec 18, 2019 8:53 am
by BillDoE
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