Kaydet (Commit) fcae9bf3 authored tarafından Jason Hulme's avatar Jason Hulme Kaydeden (comit) Thorsten Behrens

fdo#31525 Dialogues now have an appropriate background in OSX

The proper background is now set using HIThemeBackground.

Change-Id: I71e4287273f7345a18eee4c4fc494eea10f2deb2
Reviewed-on: https://gerrit.libreoffice.org/4287Reviewed-by: 's avatarThorsten Behrens <tbehrens@suse.com>
Tested-by: 's avatarThorsten Behrens <tbehrens@suse.com>
üst 2250429d
......@@ -522,7 +522,7 @@ sal_Bool AquaSalGraphics::drawNativeControl(ControlType nType,
HIThemeBackgroundDrawInfo aThemeBackgroundInfo;
aThemeBackgroundInfo.version = 0;
aThemeBackgroundInfo.state = getState( nState );
aThemeBackgroundInfo.kind = kThemeBrushDialogBackgroundInactive;
aThemeBackgroundInfo.kind = kThemeBrushDialogBackgroundActive;
// FIXME: without this magical offset there is a 2 pixel black border on the right and bottom
rc.size.width += 2;
rc.size.height += 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment