31
Views
9
Comments
Solved
Change font-size Expression
Question

How can I control that when my expression exceeds 30 characters, the font size changes to 30px?

Solution

Hi @Mario Sepulveda you can refer attached screenshot.

What data type should the TextVar variable be?

You can create a conditional style that when the length exceeds 30 characters select a CSS class with a smaller font size

Regards

¿Cómo sería? ¿Cuál sería la condición y en qué sección de la propiedad de expresión debería hacerlo?

PD: Soy nuevo en Outsystems:

Hello Mario,

Please keep in mind that the main language used in the Forums is English, so everyone can understand and help with the questions :)

Thanks!

What would it look like? What would be the condition and in which section of the expression property should I do it? 

PS: I am new in Outsystems :(

Solution

Hi @Mario Sepulveda you can refer attached screenshot.

What data type should the TextVar variable be?

Hi Mario

If one post or more answers your question, consider marking them as a solution. That will help other community members

Regards

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.