app.nit: fix name of `align` parameter for use in autoinit
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 23 Jun 2016 22:08:20 +0000 (18:08 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Fri, 24 Jun 2016 01:21:16 +0000 (21:21 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/app/ui.nit

index 0afe7aa..cb45ac2 100644 (file)
@@ -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`