I like the style of window with rather thick borders - 10px. But when a window is maximized there is no point in occupying so much space by borders. Therefore I created a small function that removes borders when a window is maximized.
Currently it looks like this:
- I Current (!Maximized) WindowStyle !Handles !Borders
- I Current (Maximized) WindowStyle Handles Borders
- I Current (!Maximized) WindowStyle HandleWidth 0 BorderWidth 0
- I Current (Maximized) WindowStyle HandleWidth 10 BorderWidth 10
- I Current Maximize
The problem is a window is maximized leaving 20px wide space on the right and on the bottom. I think it gets maximized counting that borders are still present.
Please help me to resolve the issue.