Show/Hide sidebar with a dynamic button

newbie-question

#1

Hi
I have a sidebar that can be controlled by a button for Show/Hide. I want my dynamic button to move along with the sidebar once is in hide state and show state. I managed to create to hide sidebar but I cannot get the button in proper position when it’s back to show state. pls help. TIA

sidebar show hide button move.rp (58.4 KB)