Very hard to resize Window if WindowChrome.HasOuterGlow is false

WPF Studio, Themes, and Shared Library for WPF Forum

Posted 2 years ago by Chien A.
Version: 16.1.0632
Platform: Silverlight Controls
Environment: Windows 7 (64-bit)
Avatar

Hi, we have implemented the workaround mentioned here: http://www.actiprosoftware.com/community/thread/21222/metro-theme-rendering-issues to get around the secondary monitor and disabled aero on Win 7 issue, however have noticed that this makes the Window much more difficult to resize.

Bascially you have to get mouse exactly over the 1-pixel or so border for the cursor to change to resize cursor, vs when the OuterGlow is enabled, moving mouse anywhere over the shadow/glow area changes the cursor to resize.

Comments (3)

Answer - Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Chien,

If you set this in your application's Resources, it will increase the resize border thickness on the main Window (not outer glow).  It defaults to 1 in Metro Light theme since that normally has outer glow for resizing, but is 4 on other themes, like Aero.  Just note that it will indent the Window contents with some visual padding to compensate.

<Thickness x:Key="{x:Static themes:AssetResourceKeys.WindowResizeBorderNormalThicknessKey}">4</Thickness>


Actipro Software Support

Posted 2 years ago by Chien A.
Avatar

Hi, yes I am aware of the border thickness property, but we are specifically after the metro light thin border look, so it isn't really an option for us.

Answer - Posted 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Chien,

If you do what I mentioned above, it still will have a 1px outer border but the content of the window will be padded by 4px total (including the outer border) and thus resizing will work better without the outer glow.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 13 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.