Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MinWidth not applied on UserControl #16789

Closed
FG-rgb opened this issue Aug 23, 2024 · 1 comment
Closed

MinWidth not applied on UserControl #16789

FG-rgb opened this issue Aug 23, 2024 · 1 comment
Labels

Comments

@FG-rgb
Copy link

FG-rgb commented Aug 23, 2024

Describe the bug

Create a Avalonia App, nothing special. Allow Resizng.
Use a UserControl and set MinWidth e.g. to 700.
The user can endless resize...

Operating System Windows 10 64 Bit.

To Reproduce

Use Visual Studio Template for Avalonia (Windows).
Use a UserControl inside MainWindow (e.g. MainVew).
Set MinWidth on UserControl.

Expected behavior

When setting MinWidth, the UserControl must not be resizable to a size smaller the MinWidth.

Avalonia version

11.1.3

OS

Windows

Additional context

No response

@FG-rgb FG-rgb added the bug label Aug 23, 2024
@maxkatz6
Copy link
Member

I don't see where the bug is here.
UserControl size won't be smaller than MinWidth on resizing, but it will be cropped by the window itself.

@AvaloniaUI AvaloniaUI locked and limited conversation to collaborators Aug 24, 2024
@maxkatz6 maxkatz6 converted this issue into discussion #16795 Aug 24, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants