dotnet/winforms

ToolStrip position changed after minimize and restore of form

Open

#4359 aperta il 11 dic 2020

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)C# (922 fork)batch import
area-Layoutarea-controls-StripControlshelp wanted

Metriche repository

Star
 (4100 star)
Metriche merge PR
 (Merge medio 14g 22h) (56 PR mergiate in 30 g)

Descrizione

Hi,

all WinForms toolstrip's will move to the upper left corner when the form is minimized and restored.

The ToolBarBug.zip is a very simple WinForms solution to reproduce this beavior.

ToolBarBug.zip

a) Run the WinForm application with the two toolstips on the form. b) Remember the location of the two strips c) Mnimize the form to the task-bar of windows d) Re-show the form from task-bar

--> ToolStrip positions moved.

I think this is not the expected behavior of the toolstrips.

Kind regards Sylko

Guida contributor