Fixing a comment.

This commit is contained in:
Jakub Sobon 2019-02-03 23:47:15 -05:00 committed by GitHub
parent 34a715fc1d
commit 11ec278c1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ func PlaceWidget(w widgetapi.Widget) Option {
// AlignHorizontal sets the horizontal alignment for the widget placed in the
// container. Has no effect if the container contains no widget.
// Defaults alignment in the center.
// Defaults to alignment in the center.
func AlignHorizontal(h align.Horizontal) Option {
return option(func(c *Container) error {
c.opts.hAlign = h