Commit 78d66411 authored by David Fuhrmann's avatar David Fuhrmann

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.
parent fcae63f1
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