Commit 55888c66 authored by David Fuhrmann's avatar David Fuhrmann Committed by 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 78d66411)
Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <>
parent 916b8484
This diff is collapsed.
......@@ -194,6 +194,7 @@
[_prefsView setHasVerticalScroller: YES];
[_prefsView setDrawsBackground: NO];
[_prefsView setDocumentView: o_emptyView];
[self.window layoutIfNeeded];
[_tree selectRowIndexes: [NSIndexSet indexSetWithIndex: 0] byExtendingSelection: NO];
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