From cbc613508f68447a101a602b649ad15a3f896789 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 25 Apr 2009 02:10:32 +0000 Subject: [PATCH] more text width clamping --- .../BGAnimations/ScreenSelectMusic decorations/default.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/BGAnimations/ScreenSelectMusic decorations/default.lua b/stepmania/Themes/default/BGAnimations/ScreenSelectMusic decorations/default.lua index aa6046343e..9a08183a2f 100644 --- a/stepmania/Themes/default/BGAnimations/ScreenSelectMusic decorations/default.lua +++ b/stepmania/Themes/default/BGAnimations/ScreenSelectMusic decorations/default.lua @@ -198,7 +198,7 @@ t[#t+1] = LoadActor( "stop icon" ) .. { }; t[#t+1] = LoadFont("_venacti Bold 15px") .. { - InitCommand=cmd(horizalign,left;x,SCREEN_CENTER_X-14;y,SCREEN_CENTER_Y-24;settext,"xxxx";shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#000000");maxwidth,360); + InitCommand=cmd(horizalign,left;x,SCREEN_CENTER_X-14;y,SCREEN_CENTER_Y-24;settext,"xxxx";shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#000000");maxwidth,180); SetCommand=function(self) local s = "---"; local song = GAMESTATE:GetCurrentSong(); @@ -215,7 +215,7 @@ t[#t+1] = LoadFont("_venacti Bold 15px") .. { DisplayLanguageChangedMessageCommand=cmd(playcommand,"Set"); }; t[#t+1] = LoadFont("_venacti Bold 15px") .. { - InitCommand=cmd(horizalign,right;x,SCREEN_CENTER_X+224;y,SCREEN_CENTER_Y-6;settext,"xxxx";shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#000000");); + InitCommand=cmd(horizalign,right;x,SCREEN_CENTER_X+224;y,SCREEN_CENTER_Y-6;settext,"xxxx";shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#000000");maxwidth,156); SetCommand=function(self) local s = "---"; local song = GAMESTATE:GetCurrentSong();