I defined my custom browser and got it down to just 5 inputs for any case [2/4 deck browserZoom] which is pretty good
I was wondering if I could apply maths to place holders because really all the values here are derivatives of height.
I gave it a try but didn't get the result, but it is a custom browser and I could have messed up.
Is maths on placehoders a thing or am I imagining it?
<panel class="custom_browser" height="509" itinheight="509-39" ypos="560" backheight="510" yline="557"/>
I was wondering if I could apply maths to place holders because really all the values here are derivatives of height.
I gave it a try but didn't get the result, but it is a custom browser and I could have messed up.
Is maths on placehoders a thing or am I imagining it?
Inviato Sat 28 Dec 24 @ 7:26 am
The placeholder needs a * in the define tag.
For example:
height,*itinheight,ypos,backheight,yline
For example:
height,*itinheight,ypos,backheight,yline
Inviato Mon 30 Dec 24 @ 11:48 am
thanks, very satisfying getting 3 custom browser placements down to this.
<panel class="custom_browser" height="902" visibility="browser_zoom"/>
<group visibility="not browser_zoom">
<panel class="custom_browser" height="509" condition="var_equal '@$4decks' 0"/>
<panel class="custom_browser" height="389" condition="var_equal '@$4decks' 1"/>
</group>
Inviato Mon 30 Dec 24 @ 10:08 pm