Magic Lantern Forum

Developing Magic Lantern => Scripting Corner => Scripting API suggestions => Topic started by: garry23 on September 02, 2018, 02:32:31 PM

Title: Notify Box position
Post by: garry23 on September 02, 2018, 02:32:31 PM
@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]]])
Title: Re: Notify Box position
Post by: a1ex on September 21, 2018, 03:57:20 PM
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.
Title: Re: Notify Box position
Post by: garry23 on September 21, 2018, 04:26:26 PM
@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