diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-27 18:29:54 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-27 18:29:54 -0400 |
| commit | 2e71cecd8d9e0958f5941979e5783e87ce7bf2b3 (patch) | |
| tree | c7510e8faf91305574342c6fc00805958da6ecb8 | |
| parent | ef20308db472b0ae123bc99869dd4b72e20963e3 (diff) | |
Verified NSImageView properties in the Mac OS X warning popover.
| -rw-r--r-- | redo/warningpopover_darwin.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/redo/warningpopover_darwin.m b/redo/warningpopover_darwin.m index 985d0e0..0ffdef4 100644 --- a/redo/warningpopover_darwin.m +++ b/redo/warningpopover_darwin.m @@ -23,7 +23,6 @@ backing:NSBackingStoreBuffered defer:YES]; [self setOpaque:NO]; -// [self setAlphaValue:0.1]; [self setHasShadow:YES]; [self setExcludedFromWindowsMenu:YES]; [self setMovableByWindowBackground:NO]; @@ -103,9 +102,8 @@ id newWarningPopover(char *text) wv->icon = [[NSImageView alloc] initWithFrame:NSZeroRect]; [wv->icon setImage:[NSImage imageNamed:NSImageNameCaution]]; - // TODO verify against Interface Builder [wv->icon setImageFrameStyle:NSImageFrameNone]; -// [wv->icon setImageAlignment:xxx]; + [wv->icon setImageAlignment:NSImageAlignCenter]; [wv->icon setImageScaling:NSImageScaleProportionallyUpOrDown]; [wv->icon setEditable:NO]; [wv->icon setAnimates:NO]; |
