Skip to main content
12-Amethyst
December 3, 2024
Question

How to remove scrollbar in a multiline string attribute in Windchill?

  • December 3, 2024
  • 2 replies
  • 455 views

Version: Windchill 12.1

 

Use Case: get rid of scrollbars in text area


Description:

RG_11025060_0-1733249706640.png

This is a String attribute of limit up to 500 characters on a WTPart.
this field has to be editable, so do not want to make it read-only.

 

Can we get rid of the scrollbar?

 

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
December 4, 2024

Hi @11025060 

You can set the size of the input frame

So set a number of lines and the scrollbar disappears. But if the number of rows is overcome, then the scrollbar will appear again. PS: there is no mechanism to avoid this behavior. 

 

If you need it in some ootb Wizard, check a layout settings in Type and attribute management.

Go to the layouts find your attribute in a grid and click on it. 

Select a pencil and new window shows others options to set a size of the input string frame

HelesicPetr_0-1733295938403.png

 

HelesicPetr_1-1733295994352.png

HelesicPetr_2-1733296027034.png

 

PetrH

Community Moderator
December 18, 2024

Hi @11025060,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag