SimHub icon indicating copy to clipboard operation
SimHub copied to clipboard

[Feature request] - Allow Calculations in SimHub Dash Studio Component Properties

Open Asviix opened this issue 8 months ago • 4 comments

Is your feature request related to a problem? Please describe. When I'm doing a row or column of elements, having to manually add all their Left Position and Width to align them properly is a pain.

Describe the solution you'd like Allow for simple calculations (1200+87) for example to make the whole process faster in their position fields.

Describe alternatives you've considered Allowing components to "Snap" to another component?

Asviix avatar Apr 27 '25 11:04 Asviix

Image

Here's what I mean for example:

Asviix avatar Apr 27 '25 11:04 Asviix

Hi ! Adding inline computations would be quite hard,

but it's a feature already existing in a different way.

Image

When you use a group you can use it to "stack" all the child items, horizontally or vertically, which will automatically take into account each child size :

Image

SHWotever avatar Apr 27 '25 12:04 SHWotever

That's good to know! Thanks for the tip.

Asviix avatar Apr 27 '25 13:04 Asviix

Image

I'm allowing myself to re-open this, as Groups do have child positioning, but sadly since I use a Layer with repetitions, I can't apply that technique to the components inside that layer

Or maybe it could work but I'd had to have a group for each item inside that layer, which would be more hassle than doing the calculations by hand haha!

So maybe in a long time inline computations could become a thing I hope!

Or maybe allow repetitions inside groups? Or ChildAlignments inside Layers, there's a lot of ways this could potentially be done

Asviix avatar Apr 28 '25 12:04 Asviix