Fix label text alignment

This commit is contained in:
Frank A. Krueger 2017-12-09 19:43:38 -08:00
parent 30ca7ed0c5
commit 0b60b4c800
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@ namespace Ooui.Forms.Renderers
void UpdateAlignment ()
{
Control.Style.TextAlign = Element.HorizontalTextAlignment.ToOouiTextAlign ();
Control.Style.VerticalAlign = Element.VerticalTextAlignment.ToOouiTextAlign ();
this.Style.TextAlign = Element.HorizontalTextAlignment.ToOouiTextAlign ();
this.Style.VerticalAlign = Element.VerticalTextAlignment.ToOouiTextAlign ();
}
void UpdateLineBreakMode ()