Esempio n. 1
0
 public virtual Windows.UI.Xaml.UIElement setStyleForTextAreaWidget(cave.ui.TextAreaWidget widget, bool allowReplace)
 {
     widget.setWidgetBackgroundColor(cave.Color.white());
     widget.setWidgetPadding(context.getHeightValue("1500um"));
     widget.setWidgetFontSize((double)context.getHeightValue("3000um"));
     return((Windows.UI.Xaml.UIElement)widget);
 }
Esempio n. 2
0
        public static cave.ui.TextAreaWidget forPlaceholder(cave.GuiApplicationContext context, string placeholder, int rows = 1)
        {
            var v = new cave.ui.TextAreaWidget(context);

            v.setWidgetPlaceholder(placeholder);
            v.setWidgetRows(rows);
            return(v);
        }