mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-01 00:13:37 +00:00
Merge branch 'master' of github.mv.usa.alcatel.com:amercada/Cappuccino
This commit is contained in:
@@ -469,10 +469,6 @@ var bottomHeight = 71;
|
||||
panelSize.height = minimumSize.height;
|
||||
|
||||
buttonsOriginY = panelSize.height - [aRepresentativeButton frameSize].height + buttonOffset;
|
||||
|
||||
if ([_window styleMask] & _CPModalWindowMask)
|
||||
buttonsOriginY = panelSize.height - [aRepresentativeButton frameSize].height / 2 + buttonOffset;
|
||||
|
||||
offsetX = panelSize.width - inset.right;
|
||||
|
||||
switch ([_window styleMask])
|
||||
|
||||
@@ -1877,7 +1877,6 @@ var themedButtonValues = nil,
|
||||
{
|
||||
var alert = [CPAlert new],
|
||||
buttonOffset = 10.0,
|
||||
buttonMarginY = 10.0,
|
||||
defaultElementsMargin = 3.0,
|
||||
errorIcon = PatternImage("alert-error.png", 53.0, 46.0),
|
||||
helpIcon = PatternImage("alert-help.png", 24.0, 24.0),
|
||||
@@ -1896,7 +1895,6 @@ var themedButtonValues = nil,
|
||||
|
||||
themedAlertValues =
|
||||
[
|
||||
[@"modal-window-button-margin-y", buttonMarginY],
|
||||
[@"button-offset", buttonOffset],
|
||||
[@"content-inset", inset],
|
||||
[@"default-elements-margin", defaultElementsMargin],
|
||||
@@ -1912,6 +1910,8 @@ var themedButtonValues = nil,
|
||||
[@"message-text-alignment", CPJustifiedTextAlignment],
|
||||
[@"message-text-color", [CPColor blackColor]],
|
||||
[@"message-text-font", messageFont],
|
||||
[@"modal-window-button-margin-x", -1.0],
|
||||
[@"modal-window-button-margin-y", 23.0],
|
||||
[@"suppression-button-text-color", [CPColor blackColor]],
|
||||
[@"suppression-button-text-font", suppressionButtonFont],
|
||||
[@"size", size],
|
||||
|
||||
@@ -1376,7 +1376,8 @@ var themedButtonValues = nil,
|
||||
[@"message-text-alignment", CPJustifiedTextAlignment],
|
||||
[@"message-text-color", [CPColor blackColor]],
|
||||
[@"message-text-font", messageFont],
|
||||
[@"modal-window-button-margin-x", -15],
|
||||
[@"modal-window-button-margin-x", -18.0],
|
||||
[@"modal-window-button-margin-y", 15.0],
|
||||
[@"suppression-button-text-color", [CPColor blackColor]],
|
||||
[@"suppression-button-text-font", suppressionButtonFont],
|
||||
[@"size", size],
|
||||
|
||||
Reference in New Issue
Block a user