Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-06-16 17:38:17



Reply to topic  [ 4 posts ] 
floater_lua_inventory.xml Tweak to adjust initial position 
Author Message

Joined: 2021-06-21 12:39:03
Posts: 177
Reply with quote
With my current / standard I guess setting a new inventory floater opens after a click on a sidebar button completely bound to the right side of the screen. Like that it's covering the sidebar button panel.
I'm wondering if there would be a setting, and if yes, which one, to make the default opening position of a floater move to the left in the exact size of the sidebar panel.

Thanks again a lot for your precious help!
Frank


2024-12-10 23:08:23
Profile

Joined: 2009-03-17 18:42:51
Posts: 5995
Reply with quote
For next release, I added code to avoid overlapping the side bar when asking to open a Lua floater on the same side (e.g "[top-|bottom-]right" positions with a side bar on right).

I also added the possibility to specify a x,y position relative to the borders of the viewer window, and another possibility by specifying a "Rect" debug setting variable name for controlling and saving the Lua floater size and position (also added 10 Lua specific Rects to the settings, that you can pick from and use as you see fit with your Lua floaters).


2024-12-11 14:56:38
Profile WWW

Joined: 2021-06-21 12:39:03
Posts: 177
Reply with quote
wow! That's great!

Thank you !!


2024-12-11 19:49:47
Profile

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


2024-12-18 13:44:40
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.