Skip to content

Commit

Permalink
fix misaligned credits ui on bigger interface sizes, fix #362
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Jun 23, 2016
1 parent 01ca3e2 commit 6e10dfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions addons/help/CfgRscStd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ class RscStructuredText;
class CBA_Credits_Cont: RscStructuredText {
idc = -1; //template
colorBackground[] = {0,0,0,0};
__SX(25);
__SX(8);
__SY(23);
__SW(30);
__SW(26);
__SH(1);

class Attributes {
font = "RobotoCondensed";
align = "center";
valign = "bottom";
valign = "center";
color = "#bdcc9c";
size = 0.8;
};
Expand Down
2 changes: 1 addition & 1 deletion addons/help/script_dialog_defines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define __W SafeZoneW
#define __H SafeZoneH

#define __SX(var1) x = QUOTE(var1 * GUI_GRID_W + GUI_GRID_X)
#define __SX(var1) x = QUOTE(var1 * GUI_GRID_W + GUI_GRID_CENTER_X)
#define __SY(var1) y = QUOTE(var1 * GUI_GRID_H + GUI_GRID_Y)
#define __SW(var1) w = QUOTE(var1 * GUI_GRID_W)
#define __SH(var1) h = QUOTE(var1 * GUI_GRID_H)
Expand Down

0 comments on commit 6e10dfe

Please sign in to comment.