Skip to content

Commit

Permalink
Make sure standalone dialogs start up with appropriate size.
Browse files Browse the repository at this point in the history
  • Loading branch information
lxn committed May 6, 2012
1 parent 4f0fc9d commit 5eae337
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ func (dlg *Dialog) Run() int {
b.Height,
})
}
} else {
dlg.SetBounds(dlg.Bounds())
}

dlg.Show()
Expand Down

0 comments on commit 5eae337

Please sign in to comment.