开发者

Anchoring a button that is inside a panel

开发者 https://www.devze.com 2023-01-20 09:45 出处:网络
I have a panel anchored to top-left_BOTTOM of the form. there is a button at the bottom of this panel that I want to move correctly when I am resizing the form by pulling downthe bottom edge of the fo

I have a panel anchored to top-left_BOTTOM of the form. there is a button at the bottom of this panel that I want to move correctly when I am resizing the form by pulling down the bottom edge of the form. but now the panel is moving correctly开发者_JS百科 but the button does not. what should I set to do this? thanks


What is the anchor of the button? It should say "bottom" but not "top". The panel is resizing correctly because you attached it to the top and to the bottom of the form. Now you have to attach the button to the parent's (the panel's) bottom only (not top).


Anchor the button to the right and bottom

0

精彩评论

暂无评论...
验证码 换一张
取 消