Esempio n. 1
0
        public TextView(GeeUIMain GeeUI, View rootView, string text, Vector2 position)
            : base(GeeUI, rootView)
        {
            Text.Value     = text;
            Position.Value = position;
            TextColor      = GeeUI.TextColorDefault;

            Text.AddBinding(new NotifyBinding(HandleResize, Text));
            if (AutoSize.Value)
            {
                HandleResize();
            }
        }