Notify Box position

Started by garry23, September 02, 2018, 02:32:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garry23

@a1ex

I appreciate this is not a priority matter, however, the next time you update Lua, could you consider adding a position feature to the notify box.

The reason being that the fixed position often clashes with other ML info and having a single fixed position means you can't do two lines.

I was thinking something like this:

Quotenotify_box(text[, timeout=1000,[xpos,[ypos]]])

a1ex

If the request is about multiple notification messages, each with its own position and timeout, that's going to be a little more difficult than just adding position parameters.

Right now, you should be able to display 2 (or more) lines by inserting a newline ("\n") in your string.

garry23

@a1ex

Yes that was the thinking.

But, as you suggest, I can 'fake' the positional placement by using "\n"s and space characters.

Cheers

Garry