Hello community,
I have got a bit of a dilemma where I have rather large element (well 1048px high to be exact), which I want to make be collapse on loading then expand when a button is clicked. I have got the actual expanding/collapsing part to work fine using:
export function Button1_click(event) {
$w(“#Box”).expand();
$w(“#Button1”).hide()
}
[[where button 2 is contained within #Box]] and:
export function Button2_click(event) {
$w(“#Box”).collapse();
$w(“#Button1”).show()
}
However the elements underneath the expanding one are always in the same position. Is there a way to make them move up and down with the expansion/collapsing of the larger element.
I know it works when smaller elements expand/collapse but don’t see why it wouldn’t do the same with this big one.
Thanks!