wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

TitleBar area cannot be resized in 4.x

Open FastChen opened this issue 10 months ago • 3 comments

Describe the bug

ui:TitleBar will hinder the drag of Window size

To Reproduce

The sample also has the same problem test on: Wpf.Ui.Demo.Simple

use base TitleBar like this:

        <ui:TitleBar
            Title="WPF UI - Simple Demo"
            Grid.Row="0"
            Icon="pack://application:,,,/Assets/applicationIcon-256.png" />

Expected behavior

Normal behavior of a Window resize

Screenshots

Img:

Image

Video:

https://github.com/user-attachments/assets/c583a85c-beec-4fec-b167-556bb67701cc

OS version

Windows11 24H2

.NET version

Test NET: 8/9

WPF-UI NuGet version

Version: nuget 4.0.2-4.x

Additional context

No response

FastChen avatar Apr 15 '25 12:04 FastChen

去掉Guid.Row配置就行了

wch66 avatar Apr 18 '25 06:04 wch66

去掉Guid.Row配置就行了

经过测试在 nuget 4.0.2 版本上实测无效,我自己的代码里没有用到 Grid 布局也遇到此问题,与 Grid.Row 无关。

It has nothing to do with this thing.

FastChen avatar Apr 18 '25 09:04 FastChen

I experience the same issue.

kalatchev avatar May 19 '25 07:05 kalatchev