Customising NSB.Input elements

Thought I’d put this here for those interested.

This is what I use to change the look of the NSB.Inputbox. I use html tags in the title and prompt and change the input by getting the id and styling that. The ‘margin’ just pushes the buttons down a bit to allow the bigger font to fit in. I put it directly after my NSB.Inputbox code.

  ipb = document.getElementById("_nsbDialogBoxInput")
  ipb.style.fontSize = "35px"
  ipb.style.height = "50px"
  ipb.style.marginBottom = "25px"````

This should work fine.

You can do the same thing in the ProjectCSS if you don’t want to do it in JavaScript.