04-28-2021 04:41 AM
Hi LabVIEW devs,
I have an interesting challenge for those of you who like making great UI with LabVIEW.
I'd like to create a dark UI theme. I can deal with the color of all objects I'm using except for the scrollbars.
Here is an example of what I'm working on. You can see that the scrollbar is not enough dark compare to the rest of the UI (and the scrollbar is relatively small in this example).
Does someone know a way to change color on scrollbars?
Thanks in advance for your replies.
04-28-2021 04:46 AM
04-28-2021 04:59 AM
Hi GerdW,
I tried with all kinds of controls from classic to NXG style.
System ones could be a solution but require changing system settings. Not really user-friendly if the application is not the only one used on the computer.
04-28-2021 06:04 AM
Hi Olivier,
I couldn't find a way to set a different color on those scrollbars, not even in the Control editor.
It seems you need to replace the scrollbar of that listbox by your own "scrollbar"-like slider to be able to color it the way you want…
04-28-2021 06:48 AM
Works for the "modern" listbox. But it does seem hit or miss as to which control you can edit the scroll bar and I have not found good documentation on which ones you can, or why it is.
04-28-2021 06:58 AM
You're right StevenD, thanks.
That a simple way I didn't think of and that could give a kind of workaround.
But I realize that I didn't be enough accurate in my issue description. I would have loved to be able to edit each part of the scrollbar control. The same way you can do with a ring control for example.
04-28-2021 07:04 AM
04-28-2021 07:07 AM
I just use the coloring tool, and it works fine (but I've got a bunch of extra stuff turned on).
04-28-2021 07:36 AM
@cbutcher a écrit :
Do you mean at runtime?
No, I'm just trying to edit the control in the editor. In many controls, you can replace parts with your own pictures. It seems that you basically can't do it on a scrollbar object.
@cbutcher a écrit :
What sort of control(s) do you need?
I'm basically using scrollbars, listbox, and multicolumn list box.