diff options
| author | Simon Krauter <trustablecode@gmail.com> | 2019-08-15 13:08:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-15 13:08:45 +0200 |
| commit | 94b831b6d4d3a9f6231c17805bb02a91e1ba16d7 (patch) | |
| tree | 5e4311aeb8c31b5d9c4808336e79c509e955489e /src | |
| parent | efce2e4a1c0488d0824fc4e9e43cb34f2b13f9ce (diff) | |
| download | NiGui-94b831b6d4d3a9f6231c17805bb02a91e1ba16d7.tar.gz NiGui-94b831b6d4d3a9f6231c17805bb02a91e1ba16d7.zip | |
Fix #45
Diffstat (limited to 'src')
| -rwxr-xr-x | src/nigui/msgbox.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nigui/msgbox.nim b/src/nigui/msgbox.nim index 596fb12..a524c6d 100755 --- a/src/nigui/msgbox.nim +++ b/src/nigui/msgbox.nim @@ -22,7 +22,7 @@ proc buttonClick(event: ClickEvent) = event.control.parentWindow.dispose()
proc msgBox*(parent: Window, message: string, title = "Message", button1 = "OK", button2, button3: string = ""): int {.discardable.} =
- const buttonMinWidth = 100.scaleToDpi
+ let buttonMinWidth = 100.scaleToDpi
var window = new MessageBoxWindow
window.init()
window.title = title
|
