Skip to content
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

ResizeGrip control #109

Open
Tywele opened this issue Apr 1, 2019 · 2 comments
Open

ResizeGrip control #109

Tywele opened this issue Apr 1, 2019 · 2 comments

Comments

@Tywele
Copy link

Tywele commented Apr 1, 2019

When setting the ResizeMode of the WPF window element to "CanResizeWithGrip" it doesn't show a ResizeGrip control.

Can something like this be implemented for Neutronium?

@delasource
Copy link

It would be good if one can resize the window by a specific drag-area instead of a 1-pixel window border, which is nearly impossible to hit on 4k screens with scaling enabled.

@David-Desmaisons
Copy link
Member

The chromeless behaviour is in part provided by this class in Neutronium:
Chromeless.css which in turns uses internally Wpf WindowChrome[https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.windowchrome?view=netframework-4.7.2].
It seems that the static methods WindowChrome.SetResizeGripDirection can be used to set a custom ResizeGrip.
So that migth be possible. I will take a look in the mid-term.
@Tywele if you could experiment a solution based on this suggestion in the menawhile and give me some feedback it would be awesome.

@genyx regarding the resize border border, it can be changed this way

<i:Interaction.Behaviors>
    <neutronium:Chromeless Thickness="3" />
</i:Interaction.Behaviors>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants