mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-15 03:03:50 +00:00
Adjust size of spinner progress indicators properly in nib2cib.
This commit is contained in:
1 parent
5097030143
commit
b7dcd24e11
1 file changed
+8
-1
@@ -48,7 +48,14 @@ var NSProgressIndicatorSpinningFlag = 1 << 12;
|
||||
|
||||
// Readjust the height of the control to the correct size.
|
||||
var currentFrameSize = [self frameSize];
|
||||
currentFrameSize.height = 15.0;
|
||||
if (_style == CPProgressIndicatorSpinningStyle)
|
||||
{
|
||||
currentFrameSize.height = 64.0;
|
||||
currentFrameSize.width = 64.0;
|
||||
}
|
||||
else
|
||||
currentFrameSize.height = 15.0;
|
||||
|
||||
[self setFrameSize:currentFrameSize];
|
||||
|
||||
// update graphics
|
||||
|
||||
Reference in new issue
Block a user