mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 05:32:11 +00:00
* Source/NSSplitView.m: Be sure to adjust subviews before
setting divider position. Otherwise, adjustSubviews will wipe out the setting. Patch by Doug Simons <doug.simons@testplant.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38626 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cd07fc293b
commit
d454877a79
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-06-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSSplitView.m: Be sure to adjust subviews before setting
|
||||
divider position. Otherwise, adjustSubviews will wipe out the setting.
|
||||
Patch by Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
2015-05-29 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Resources/English.lproj/Localizable.strings
|
||||
|
|
|
@ -1125,6 +1125,13 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
return;
|
||||
}
|
||||
|
||||
// be sure to adjust subviews before repositioning the divider
|
||||
if (_never_displayed_before == YES)
|
||||
{
|
||||
_never_displayed_before = NO;
|
||||
[self _adjustSubviews: _frame.size];
|
||||
}
|
||||
|
||||
if (_delegate &&
|
||||
[_delegate respondsToSelector:
|
||||
@selector(splitView:constrainSplitPosition:ofSubviewAt:)])
|
||||
|
|
Loading…
Reference in a new issue