The resize code now works correctly, finally - it temporarily did harm ;)
The BViews must be resized directly after every change in the window size - we cannot wait until B_WINDOW_RESIZED, since subsequent calls have wrong view sizes, then. B_WINDOW_RESIZED is only really useful for app_server caused window resizing. Added TODO to SetLook(): it may change the window size as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15385 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -285,6 +285,7 @@ private:
|
||||
bool IsFilePanel() const;
|
||||
|
||||
void _CreateTopView();
|
||||
void _AdoptResize();
|
||||
void _SetFocus(BView *focusView, bool notifyIputServer = false);
|
||||
|
||||
Shortcut* _FindShortcut(uint32 key, uint32 modifiers);
|
||||
|
||||
Reference in New Issue
Block a user