Skip to content

Size mode for Controls to not strech windows when using AutoSized windows #5906

Answered by maxkatz6
sn4k3 asked this question in Q&A
Discussion options

You must be logged in to vote

Right now there is expected behavior with SizeToContent. Window content is not width-constrained by anything, as well as your visual containers, that's why your TextBox is not limited.

About your options, I am pretty sure developer can write his own Panel with these properties and override Measure correctly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sn4k3
Comment options

Answer selected by sn4k3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants