fix text spilling out of some elements (TextBanner, some Options related items)
This commit is contained in:
@@ -111,7 +111,7 @@ function TextBannerAfterSet(self,param)
|
|||||||
local Subtitle=self:GetChild("Subtitle");
|
local Subtitle=self:GetChild("Subtitle");
|
||||||
--local Artist=self:GetChild("Artist");
|
--local Artist=self:GetChild("Artist");
|
||||||
if Subtitle:GetText() == "" then
|
if Subtitle:GetText() == "" then
|
||||||
(cmd(maxwidth,300;y,0;zoom,1.0;))(Title);
|
(cmd(maxwidth,208;y,0;zoom,1.0;))(Title);
|
||||||
(cmd(visible,false))(Subtitle);
|
(cmd(visible,false))(Subtitle);
|
||||||
--(cmd(zoom,0.66;maxwidth,300;y,7))(Artist);
|
--(cmd(zoom,0.66;maxwidth,300;y,7))(Artist);
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1623,7 +1623,7 @@ WheelNotifyIconY=0
|
|||||||
WheelNotifyIconOnCommand=
|
WheelNotifyIconOnCommand=
|
||||||
SongNameX=-30
|
SongNameX=-30
|
||||||
SongNameY=0
|
SongNameY=0
|
||||||
SongNameOnCommand=
|
SongNameOnCommand=maxwidth,208;
|
||||||
SectionExpandedX=-18
|
SectionExpandedX=-18
|
||||||
SectionExpandedY=-2
|
SectionExpandedY=-2
|
||||||
SectionExpandedOnCommand=maxwidth,208;strokecolor,color("#00000077");shadowlength,0
|
SectionExpandedOnCommand=maxwidth,208;strokecolor,color("#00000077");shadowlength,0
|
||||||
@@ -1963,7 +1963,7 @@ ExplanationP2OnCommand=shadowlength,0;wrapwidthpixels,500;horizalign,right;cropr
|
|||||||
ExplanationP2OffCommand=
|
ExplanationP2OffCommand=
|
||||||
ExplanationTogetherX=SCREEN_CENTER_X-302
|
ExplanationTogetherX=SCREEN_CENTER_X-302
|
||||||
ExplanationTogetherY=SCREEN_CENTER_Y+184
|
ExplanationTogetherY=SCREEN_CENTER_Y+184
|
||||||
ExplanationTogetherOnCommand=shadowlength,0;wrapwidthpixels,1000;horizalign,left;cropright,1;linear,0.5;cropright,0
|
ExplanationTogetherOnCommand=shadowlength,0;wrapwidthpixels,600;horizalign,left;cropright,1;linear,0.5;cropright,0
|
||||||
ExplanationTogetherOffCommand=
|
ExplanationTogetherOffCommand=
|
||||||
DisqualifyP1X=
|
DisqualifyP1X=
|
||||||
DisqualifyP1Y=
|
DisqualifyP1Y=
|
||||||
@@ -3233,7 +3233,7 @@ FrameX=SCREEN_CENTER_X
|
|||||||
FrameY=2
|
FrameY=2
|
||||||
TitleX=SCREEN_CENTER_X
|
TitleX=SCREEN_CENTER_X
|
||||||
TitleY=-2
|
TitleY=-2
|
||||||
TitleOnCommand=shadowlength,0;uppercase,true
|
TitleOnCommand=shadowlength,0;uppercase,true;maxwidth,300
|
||||||
FrameGainFocusCommand=diffuse,1,1,1,1;glowshift;effectcolor2,color("#fffdd4");
|
FrameGainFocusCommand=diffuse,1,1,1,1;glowshift;effectcolor2,color("#fffdd4");
|
||||||
FrameLoseFocusCommand=diffuse,1,1,1,1;stopeffect
|
FrameLoseFocusCommand=diffuse,1,1,1,1;stopeffect
|
||||||
|
|
||||||
@@ -3281,7 +3281,7 @@ LineNames="1"
|
|||||||
Line1="lua,OptionsRowTest()"
|
Line1="lua,OptionsRowTest()"
|
||||||
|
|
||||||
[TextBanner]
|
[TextBanner]
|
||||||
TitleOnCommand=shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#00000077");horizalign,right;x,120;skewx,-0.1;
|
TitleOnCommand=shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#00000077");horizalign,right;x,120;skewx,-0.1;maxwidth,208;
|
||||||
SubtitleOnCommand=shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#00000077");horizalign,right;x,120;skewx,-0.1;
|
SubtitleOnCommand=shadowlengthx,0;shadowlengthy,2;shadowcolor,color("#00000077");horizalign,right;x,120;skewx,-0.1;
|
||||||
ArtistOnCommand=visible,false
|
ArtistOnCommand=visible,false
|
||||||
ArtistPrependString="/"
|
ArtistPrependString="/"
|
||||||
|
|||||||
Reference in New Issue
Block a user