Cannot set the width and font size of TextInput

#1

I can’t seem to set the width, font size or text alignment of a TextInput. I know some styles aren’t implemented yet.

Steps to reproduce

var input = h("input", { type: "text", placeholder: "Test", uxpQuiet: true, width: 5, minWidth: 0, style: {fontSize: 9});

Expected Behavior

Able to set font size, width and align.

Actual Behavior

Styles are not applied.

0 Likes

#2

@Velara are you still unable to set the width? I’m unable to replicate the bug. Also, it’s recommended to use the style tag or css to style your tags!

1 Like

#3

I can set the width now (tested in 17.0.12.11). I’ll be sure to use the style tags.

0 Likes