mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:30:38 +00:00
Two small patches from the current mailing list discussion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22060 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
58178af531
commit
a350b03662
3 changed files with 24 additions and 2 deletions
|
@ -191,16 +191,17 @@ DEFINE_RINT_IF_MISSING
|
|||
{
|
||||
image = [NSImage imageNamed: @"common_SliderVert"];
|
||||
size = [image size];
|
||||
[_knobCell setImage: image];
|
||||
[image setScalesWhenResized:YES];
|
||||
[image setSize: NSMakeSize (cellFrame.size.width, size.height)];
|
||||
}
|
||||
else
|
||||
{
|
||||
image = [NSImage imageNamed: @"common_SliderHoriz"];
|
||||
size = [image size];
|
||||
[_knobCell setImage: image];
|
||||
[image setScalesWhenResized:YES];
|
||||
[image setSize: NSMakeSize (size.width, cellFrame.size.height)];
|
||||
}
|
||||
[_knobCell setImage: image];
|
||||
}
|
||||
_isVertical = vertical;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue