Fix group dialog button scaling again

This commit is contained in:
ebaydayz
2017-01-18 17:10:41 -05:00
parent 490fb90303
commit 6d45ecfcac

View File

@@ -52,9 +52,9 @@ class DZ_GroupButton: RscButton {
text = ""; text = "";
type = 16; type = 16;
action = ""; action = "";
x = .317; x = .314;
w = .058 * safeZoneW; w = .16;
h = .05 * safeZoneH; h = .1;
color[] = {0.95, 0.95, 0.95, 1.0}; color[] = {0.95, 0.95, 0.95, 1.0};
color2[] = {0.95, 0.95, 0.95, 1}; color2[] = {0.95, 0.95, 0.95, 1};
colorDisabled[] = {1, 1, 1, 0.25}; colorDisabled[] = {1, 1, 1, 0.25};
@@ -87,7 +87,7 @@ class DZ_GroupButton: RscButton {
}; };
class TextPos { class TextPos {
left = .002; left = .002;
top = .0181 * safeZoneH; top = .0325;
right = .002; right = .002;
bottom = .005; bottom = .005;
}; };
@@ -179,7 +179,7 @@ class DZ_GroupDialog {
text = $STR_UI_CLOSE; text = $STR_UI_CLOSE;
onButtonClick = "findDisplay 80000 closeDisplay 2;"; onButtonClick = "findDisplay 80000 closeDisplay 2;";
x = .03; x = .03;
y = .6525; y = .65;
}; };
class Invite: DZ_GroupButton { class Invite: DZ_GroupButton {
idc = 3; idc = 3;
@@ -193,18 +193,18 @@ class DZ_GroupDialog {
onButtonClick = "(_this select 0) ctrlShow false; call dayz_kickFromGroup;"; onButtonClick = "(_this select 0) ctrlShow false; call dayz_kickFromGroup;";
y = .239; y = .239;
}; };
class Disband: DZ_GroupButton {
idc = 5;
text = $STR_EPOCH_DISBAND;
onButtonClick = "(_this select 0) ctrlShow false; call dayz_disbandGroup;";
y = .349;
};
class Promote: DZ_GroupButton { class Promote: DZ_GroupButton {
idc = 10; idc = 10;
text = $STR_EPOCH_PROMOTE; text = $STR_EPOCH_PROMOTE;
onButtonClick = "(_this select 0) ctrlShow false; call dayz_promotePlayer;"; onButtonClick = "(_this select 0) ctrlShow false; call dayz_promotePlayer;";
y = .294; y = .294;
}; };
class Disband: DZ_GroupButton {
idc = 5;
text = $STR_EPOCH_DISBAND;
onButtonClick = "(_this select 0) ctrlShow false; call dayz_disbandGroup;";
y = .349;
};
class Leave: DZ_GroupButton { class Leave: DZ_GroupButton {
idc = 6; idc = 6;
text = $STR_EPOCH_LEAVE; text = $STR_EPOCH_LEAVE;