mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 19:01:15 +00:00
* Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize: to resizeSubviewsWithOldSize:. * Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]): make the window a little bit higher. Some ColorPickers would not fit. * ColorPickers/GSCMYKColorPicker.tiff: * ColorPickers/GSGrayColorPicker.tiff: * ColorPickers/GSHSBColorPicker.tiff: * ColorPickers/GSRGBColorPicker.tiff: resize so that the image fits within the NSButton. (only blank area was removed) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14868 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2f5753f29d
commit
ed7570937a
6 changed files with 18 additions and 11 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2002-10-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||
|
||||
* Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
|
||||
Move code from setFrame: & resizeWithOldSuperviewSize:
|
||||
to resizeSubviewsWithOldSize:.
|
||||
|
||||
* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
|
||||
make the window a little bit higher. Some ColorPickers would not fit.
|
||||
* ColorPickers/GSCMYKColorPicker.tiff:
|
||||
* ColorPickers/GSGrayColorPicker.tiff:
|
||||
* ColorPickers/GSHSBColorPicker.tiff:
|
||||
* ColorPickers/GSRGBColorPicker.tiff:
|
||||
resize so that the image fits within the NSButton.
|
||||
(only blank area was removed)
|
||||
|
||||
|
||||
2002-10-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Headers/gnustep/gui/GSMethodTable.h:
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -814,21 +814,12 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (void) setFrame: (NSRect) newFrame
|
||||
- (void) resizeSubviewsWithOldSize: (NSSize) oldSize
|
||||
{
|
||||
NSRect oldFrame = [self frame];
|
||||
[super setFrame: newFrame];
|
||||
[self _adjustSubviews: oldFrame.size];
|
||||
[self _adjustSubviews: oldSize];
|
||||
[_window invalidateCursorRectsForView: self];
|
||||
}
|
||||
|
||||
- (void) resizeWithOldSuperviewSize: (NSSize)oldSize
|
||||
{
|
||||
NSRect oldFrame = [self frame];
|
||||
[super resizeWithOldSuperviewSize: oldSize];
|
||||
[self _adjustSubviews: oldFrame.size];
|
||||
[_window invalidateCursorRectsForView: self];
|
||||
}
|
||||
|
||||
- (void) displayIfNeededInRectIgnoringOpacity: (NSRect)aRect
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue