I need add a "line-height" value to my TextItem object in DynamicForm after i calculate it. I can't do it like this myTextItem.getElement.getStyle... Someone can help me ?
Asked
Active
Viewed 794 times
3
-
Providing some actual code would help. – Sednus Feb 20 '13 at 13:18
-
I just create TextItem objecy add style to it (object.setTextBoxStyle(style)) and now i calculate hat height I need. When I have this value I want add to my style "line-height" with my calculated height. – Zaki Feb 20 '13 at 13:53
-
line-height is the distance between lines.. Are you sure your don't want to use a TextAreaItem instead? – Sednus Feb 22 '13 at 13:42
-
I'm sure that I want use TextItem with line-height style parameter – Zaki Feb 23 '13 at 20:32