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

Improved Styling and Resizing Options for Floating Windows #469

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xoma-zver
Copy link

This PR addresses an issue with the thin border around floating windows in the VS2013 theme, which did match the Visual Studio 2013 style but made it difficult to resize the windows using the mouse. The border thickness was initially set to 1, which was aesthetically pleasing but not practical for resizing.

What's changed: I introduced an additional border with the background color of TabBackground and set it to a thickness of 5, outside of the content area, making the resizing area larger without affecting the visual style of the windows.

Reason for changes: To improve the user experience by making it easier to resize floating windows while maintaining the visual integrity of the VS2013 theme.

Impacts on existing functionality: The visual appearance remains consistent with the theme, but resizing the windows is now more user-friendly.

Additional Information:

No additional actions are required post-merge.
This change does not relate to any open issue.

Testing: The changes have been manually tested to ensure that the floating windows can be resized comfortably without compromising the visual style.

@HayanAK
Copy link

HayanAK commented Jan 8, 2024

GJ, I noticed this issue as well, i hope this will be included in the upcoming version. Do you know how i can use this fix already now?

@xoma-zver
Copy link
Author

GJ, я тоже заметил эту проблему, надеюсь, она будет включена в следующую версию. Знаете ли вы, как я могу использовать это исправление уже сейчас?

@HayanAK, It is enough to override the style with the key x:Key="{x:Type avalonDockControls:LayoutAnchorableFloatingWindowControl}", as done here:

https://github.com/xoma-zver/AvalonDock/blob/Improved-VS2013-style-behavior/source/Components/AvalonDock.Themes.VS2013/Themes/Generic.xaml

I also recommend watching
https://github.com/Wenveo/AakStudio.Shell.UI.Themes.AvalonDock

This is an alternative style library where this problem is also not observed.

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

Successfully merging this pull request may close these issues.

2 participants