Commit e782ae31 authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix wrong size of playlist when using podcast and minimal view

(cherry picked from commit 19bbb8cc2c0aacc176ac83dc7a57fe94407e9ef4)
Signed-off-by: default avatarDavid Fuhrmann <dfuhrmann@videolan.org>
parent f9f38615
......@@ -453,9 +453,15 @@ static VLCMainWindow *_o_sharedInstance = nil;
dropzoneboxRect.origin.x = (plrect.size.width - dropzoneboxRect.size.width) / 2;
dropzoneboxRect.origin.y = (plrect.size.height - dropzoneboxRect.size.height) / 2;
[o_playlist_table setFrame: plrect];
[o_dropzone_view setFrame: plrect];
[o_dropzone_box setFrame: dropzoneboxRect];
if (b_podcastView_displayed) {
plrect.size.height -= [o_podcast_view frame].size.height;
plrect.origin.y = [o_podcast_view frame].size.height;
}
[o_playlist_table setFrame: plrect];
[o_dropzone_view setNeedsDisplay: YES];
[o_playlist_table setNeedsDisplay: YES];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment