Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-05-14 20:30:31



Reply to topic  [ 3 posts ] 
Lua Scripting Increase number of possible sidebar buttons 
Author Message

Joined: 2021-06-21 12:39:03
Posts: 177
Reply with quote
Hey there!

As I love the sidebar button feature very much I got easily to the current max number of 12 buttons.
Is there any chance to increase that number to maybe 24 or to open a second sidebar button row?


2024-12-09 21:31:48
Profile

Joined: 2009-03-17 18:42:51
Posts: 5984
Reply with quote
The current hard-coded limit in the code is 20 buttons (the max number of buttons must be kept reasonable to fit a viewer window on small 1024x768 monitors): the viewer will adapt to the actual number of buttons used in the side bar panel XUI definition file.

You can therefore edit the latter and add buttons (named "btn13" to "btn20"), then place it in your custom skin override folder (beware, the latter has been renamed "cvlv-skins" in v1.32.2.27: see the change log).

The method for editing the side bar has already been covered in this post (simply read "cvlv-skins/default/xui/en-us" instead of "skins/default/xui/en-us" for the override folder).


2024-12-09 22:31:51
Profile WWW

Joined: 2021-06-21 12:39:03
Posts: 177
Reply with quote
ah jaaaaa. that's working now.

I tried like that last night, but it seems to have been already too late to do it right ;)

Merci beaucoup!


2024-12-10 12:17:42
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.