vlc | branch: master | David Fuhrmann <[email protected]> | Sat Oct 18 13:20:36 2014 +0200| [19bbb8cc2c0aacc176ac83dc7a57fe94407e9ef4] | committer: David Fuhrmann
macosx: fix wrong size of playlist when using podcast and minimal view > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19bbb8cc2c0aacc176ac83dc7a57fe94407e9ef4 --- modules/gui/macosx/MainWindow.m | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 198efd0..870eee9 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -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]; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
