0

i use this code for show a nsalert message:

let alert = NSAlert()
alert.informativeText = "My Text"
alert.addButton(withTitle: "Button 1")
alert.addButton(withTitle: "Button 2")
alert.runModal()

is there a way to set the width value of the alert window?

Trombone0904
  • 4,132
  • 8
  • 51
  • 104

0 Answers0