mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 02:35:03 +01:00
2ff62714d0
methods as well as Size(). To avoid the problem of centering the window before it has been resized by the layout system, I force the resizing early. If there is a better way to do this or some way to avoid doing it repeatedly, let me know. But I figure the Center* methods should not be called that often. Updated Screenshot and DiskProbe to use this new method as a test. It certainly cleaned up DiskProbe. I will update other code over the next few days (if anyone wants to help, please do :) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32612 a95241bf-73f2-0310-859d-f6bbb57e9c96