From: Alexis Laferrière Date: Thu, 23 Jun 2016 22:08:20 +0000 (-0400) Subject: app.nit: fix name of `align` parameter for use in autoinit X-Git-Url: http://nitlanguage.org app.nit: fix name of `align` parameter for use in autoinit Signed-off-by: Alexis Laferrière --- diff --git a/lib/app/ui.nit b/lib/app/ui.nit index 0afe7aa..cb45ac2 100644 --- a/lib/app/ui.nit +++ b/lib/app/ui.nit @@ -211,7 +211,7 @@ abstract class TextView # depending on the customization options of each platform. # For consistent results, it is recommended to use only on instances # of `Label` and `size` should be either 0.0, 0.5 or 1.0. - fun align=(center: nullable Float) is autoinit do end + fun align=(align: nullable Float) is autoinit do end end # A control for the user to enter custom `text`