is there a way to collapse horizontally aligned buttons on hide. without leaving blank space behind the button on hide?
- used button inside panel with resize at runtime set "yes" -> doesnt work.
This would be different depending on if you are using responsive vs classic forms. Using the panel is the right concept, but also be mindful that the controls should not overlap (classic) to prevent extra white spaces.