[vlc-commits] macosx: advanced prefs: fix split view layout on older macOS

David Fuhrmann git at videolan.org
Sat Feb 3 15:24:30 CET 2018


vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Fri Feb  2 18:26:50 2018 +0100| [55888c66a83bf457926102700cbde400927dbaf6] | committer: Felix Paul Kühne

macosx: advanced prefs: fix split view layout on older macOS

Trigger layout pass before loading current prefs view, to setup
frames correctly.
Also rewrite left part of the split view in the xib file, to try
to fix weird errors where left view is completely collaped. Set
min size of view to ensure it is shown.

(cherry picked from commit 78d664116d23dcfc1d65bcd2d005d7fe984e991f)
Signed-off-by: Felix Paul Kühne <felix at feepk.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=55888c66a83bf457926102700cbde400927dbaf6
---

 modules/gui/macosx/UI/Preferences.xib | 105 +++++++++++++++++++---------------
 modules/gui/macosx/prefs.m            |   1 +
 2 files changed, 59 insertions(+), 47 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=55888c66a83bf457926102700cbde400927dbaf6


More information about the vlc-commits mailing list