Skip to main content
19-Tanzanite
December 10, 2021
Question

How to reduce height of the input text field

  • December 10, 2021
  • 1 reply
  • 2004 views

Hi all,

 

I'm trying to reduce the height of the text-field widget, I'm not able to reduce it below 34.

 

Is there any way to control it using CSS?

 

/VR 

1 reply

24-Ruby III
December 10, 2021

Read this article - ""Height" property of TextField in the TextArea widget does not accept value smaller than 34 px in ThingWorx 8.5": https://www.ptc.com/en/support/article/CS325213 

 

Also a similar question was previously:

Velkumar19-TanzaniteAuthor
19-Tanzanite
December 10, 2021

Hi @VladimirN 

 

I'm able to reduce the height of the field but some parts of the widget are hidden. 

 

Velkumar_0-1639134531192.png

 

How can I over this issue?

 

/VR

Community Manager
December 20, 2021

Hi @Velkumar.

 

What version of ThingWorx are you running?  From our testing it appears the 9.x versions of ThingWorx do not support anything less that 34 pcs, so if you need something smaller, you may need to create your own widget.

 

In your pic, did you use CSS to adjust the size?  If so, there may be other elements such as font size, padding, etc. that would also require update in order for it to display correctly.

 

You can also submit this as a request on the ThingWorx Ideas Board.

 

Regards.

 

--Sharon