more text width clamping
This commit is contained in:
@@ -198,7 +198,7 @@ t[#t+1] = LoadActor( "stop icon" ) .. {
|
|||||||
};
|
};
|
||||||
|
|
||||||
t[#t+1] = LoadFont("_venacti Bold 15px") .. {
|
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)
|
SetCommand=function(self)
|
||||||
local s = "---";
|
local s = "---";
|
||||||
local song = GAMESTATE:GetCurrentSong();
|
local song = GAMESTATE:GetCurrentSong();
|
||||||
@@ -215,7 +215,7 @@ t[#t+1] = LoadFont("_venacti Bold 15px") .. {
|
|||||||
DisplayLanguageChangedMessageCommand=cmd(playcommand,"Set");
|
DisplayLanguageChangedMessageCommand=cmd(playcommand,"Set");
|
||||||
};
|
};
|
||||||
t[#t+1] = LoadFont("_venacti Bold 15px") .. {
|
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)
|
SetCommand=function(self)
|
||||||
local s = "---";
|
local s = "---";
|
||||||
local song = GAMESTATE:GetCurrentSong();
|
local song = GAMESTATE:GetCurrentSong();
|
||||||
|
|||||||
Reference in New Issue
Block a user