[Suggestion] Label.Overflow

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

[Suggestion] Label.Overflow

Post by gouxim »

Fellow scripters,

How cool would it be to have on the Label class the following property

Code: Select all

(readonly) Boolean Overflow
It would tell you when text is overflowing the Label, whether it has multipage (vertical overflow) or not (horizontal overflow).

Here's how you could use it:
  • Put a Label with autonewline + maxline
  • If overflow is true, show a button
  • If you click that button, hide the Label and show another Label that has the same props and content except "maxlines"
It would basiccaly allow to show more of the Label.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
om23
Posts: 568
Joined: 29 Aug 2010, 21:29

Re: [Suggestion] Label.Overflow

Post by om23 »

example for noobs pls :D
═╦═╔╦╗LAN-Party »»» :pil :pop: :pil
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: [Suggestion] Label.Overflow

Post by gouxim »

There is no example, I am just suggesting a new feature.
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
om23
Posts: 568
Joined: 29 Aug 2010, 21:29

Re: [Suggestion] Label.Overflow

Post by om23 »

ahh ok, wow.
!turbo feature!
if u have nothing else better to do, then u can make it.

what is this features base side?
maniaplanet server, manialink host or ml-host + maniaplanet.sdk?
btw. the maniaplanet.sdk is since 4 months on beta 1.3,
am I right on, if I await sdk2.0 with maniaplanet2.0?
═╦═╔╦╗LAN-Party »»» :pil :pop: :pil
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 1 guest