wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

title bar icon wrong when app start in maximized window

Open PierreLeGit opened this issue 2 years ago • 1 comments

I Lepo, First of all, thank you for sharing this very inspiring application. When the application starts in full screen mode, the maximize/shrink icon is not updated in the title bar. The maximize icon is displayed while the window is full screen.

PierreLeGit avatar May 04 '22 08:05 PierreLeGit

Hi.

In addition to the icon bug, when setting windowstate="Maximized", when de app starts the window occupies the full screen and covers the taskbar

@pomianowski

realcnk avatar May 12 '22 09:05 realcnk

Hi.

In addition to the icon bug, when setting windowstate="Maximized", when de app starts the window occupies the full screen and covers the taskbar

@pomianowski

the same problem, do you have any solution?

huytran123 avatar Apr 05 '23 03:04 huytran123

Hi. In addition to the icon bug, when setting windowstate="Maximized", when de app starts the window occupies the full screen and covers the taskbar @pomianowski

the same problem, do you have any solution?

Yes! On MainWindow_SizeChanged

Me.MaxHeight = SystemParameters.MaximizedPrimaryScreenHeight
Me.MaxWidth = SystemParameters.MaximizedPrimaryScreenWidth

Works with taskbar in top/bottom or left/right

realcnk avatar Apr 06 '23 07:04 realcnk