It is currently March 28th, 2024, 5:52 pm

Creating a limit to the Width of a string meter?

Get help with creating, editing & fixing problems with skins
Post Reply
User avatar
Virginityrocks
Posts: 478
Joined: February 26th, 2011, 10:22 pm

Creating a limit to the Width of a string meter?

Post by Virginityrocks »

Edit: Nevermind. I'm an idiot. Forgot about ClipStringW.

Let's say I have three strings. I don't know how long each one will be. I don't want to set a constant value for W=, but I also don't want to the string's width to exceed 500px. I want the string's W to be whatever it is naturally, unless it exceeds 500.

Code: Select all

[String1]
Meter=String
MeasureName=[Measure1]
Text=%1

[String2]
Meter=String
MeasureName=[Measure2]
Text=%1

[String3]
Meter=String
MeasureName=[Measure3]
Text=%1
Post Reply