ppescher / resizablelib

A set of MFC classes to easily make resizable windows
Other
55 stars 27 forks source link

Grip is top left anchored when I use AddAllOtherAnchors() in ResizableFormView #9

Closed MickeVr closed 5 years ago

MickeVr commented 5 years ago

When I use AddAllOtherAnchors() in ResizableFormView, the grip is not set to its new position when I resize the form. Not using AddAllOtherAnchors fixes this (but then I must specify all top left anchors). I fixed it a bit dirty by switching the order of ArrangeLayout() and UpdateSizeGrip() in CResizableFormView::OnSize,

MickeVr commented 5 years ago

Thanks! This solves the issue indeed.