Free open-source modern C++17 / C++20 framework to create console, GUI (forms like WinForms) and unit test applications and libraries on Microsoft Windows, Apple macOS and Linux.
'xtd::forms::button' anchor style, anchor_styles::top, is ignored when contained in a xtd::forms::group_box and the group box is resized vertically. Horizontal anchoring works as expected.
To Reproduce you may use the provided sample code:
Increase the size of the application dialog vertically.
Expected behaviour
If the attribute 'anchor_styles::top' is set on a 'xtd::forms::button' instance then it should remain at the top of the group_box when the group_box is resized vertically.
A clear and concise description of what you expected to happen.
Desktop
Model Name: MacBook Air
Model Identifier: MacBookAir10,1
Chip: Apple M1
Total Number of Cores: 8 (4 performance and 4 efficiency)
Memory: 16 GB
System Firmware Version: 7459.141.1
OS Loader Version: 7459.141.1
Describe the bug
'xtd::forms::button' anchor style, anchor_styles::top, is ignored when contained in a xtd::forms::group_box and the group box is resized vertically. Horizontal anchoring works as expected.
To Reproduce you may use the provided sample code:
Steps to reproduce the behavior:
Expected behaviour
If the attribute 'anchor_styles::top' is set on a 'xtd::forms::button' instance then it should remain at the top of the group_box when the group_box is resized vertically.
A clear and concise description of what you expected to happen.
Desktop
Model Name: MacBook Air Model Identifier: MacBookAir10,1 Chip: Apple M1 Total Number of Cores: 8 (4 performance and 4 efficiency) Memory: 16 GB System Firmware Version: 7459.141.1 OS Loader Version: 7459.141.1
Workaround
None Found