SimHub icon indicating copy to clipboard operation
SimHub copied to clipboard

[Feature request] DashStudio: Function that returns the dashboard base width / height

Open fixfactory opened this issue 5 months ago • 0 comments

Is your feature request related to a problem? Please describe. When changing the size of an overlay/dashboard, there are then many places where we need to adjust the left / top / width properties. Would be nice to be able to set them up relative to the dashboard base width / height and have them resize automatically when changing the dashboard size.

Image

Describe the solution you'd like It would be great to have two new functions available in javascript: dashboardbasewidth() dashboardbaseheight()

Describe alternatives you've considered Alternative is to have a Dashboard Variable, so there are only two places to change.

Additional context Would be useful for publicly published overlays / dashboard where users want to change the dashboard size.

fixfactory avatar Aug 26 '25 16:08 fixfactory