Error msg too far to the right

Questions related to using nuBuilder Forte.

Error msg too far to the right

Postby Martin » Mon May 18, 2020 3:55 am

Hi,

The messagebox is displayed too far to the right, outside the visible area. Only if you scroll to the right, you will see the error message.
Attachments
err-msg.png
err-msg.png (11.95 KiB) Viewed 138 times
Martin
 
Posts: 30
Joined: Sat Nov 10, 2018 2:12 am

Re: Error msg too far to the right

Postby Martin » Sat May 23, 2020 2:37 am

Is anyone experiencing the same issue or is my installation corrupt?
Martin
 
Posts: 30
Joined: Sat Nov 10, 2018 2:12 am

Re: Error msg too far to the right

Postby Janusz » Sat May 23, 2020 5:43 am

Hi,
If you refer to the nuMessage you can change default location for example in the following way:
in ./nuform.js
find the line and disable it:
Code: Select all
//$('body', par).append("<div id='nuMessageDiv' class='nuMessage' style='overflow:hidden;width:" + widest + "px;left:" + l + "px' ></div>")

and add/replace with:
Code: Select all
$('body', par).append("<div id='nuMessageDiv' class='nuMessage' style='position:fixed; overflow:hidden;width:" + widest + "px;top:55px; left:10px' ></div>")
Janusz
 
Posts: 292
Joined: Fri Dec 28, 2018 10:11 pm
Location: Krakow, Poland


Return to General