Closed vczh closed 2 years ago
Resizing this window in dpi:125% monitor, the window size will suddenly jump a little bit bigger when it is dragged to its smallest size.
<Resource> <Instance name="MainWindowResource"> <Instance ref.CodeBehind="false" ref.Class="demo::TestWindow"> <Window ref.Name="self" Text="GacUI XML资源展示" ClientSize="x:800 y:600"> <att.ContainerComposition-set PreferredMinSize="x:640 y:480" /> <Bounds AlignmentToParent="left:0 top:0 right:0 bottom:0"> <Bounds AlignmentToParent="left:0 top:0 right:-1 bottom:-1" PreferredMinSize="x:640 y:480"> <SolidBorder Color="#FFFF00"/> </Bounds> </Bounds> </Window> </Instance> </Instance> </Resource>
Resizing this window in dpi:125% monitor, the window size will suddenly jump a little bit bigger when it is dragged to its smallest size.