Wrapping text on Button
Comments
-
I have a Button whose text is dependent on inputs from the user. When it receives a large enough string, Ive found the text gets truncated. Is it possible to wrap or add a break line to the text so that the Button displays the whole value? I cannot increase the Button size at this point as it would require me to redo all my components.
-
[font=Arial, Helvetica, sans-serif]We can achieve this using CSS. Please find it attached. Youll need to apply this to your Button component.[/font]
[font=Arial, Helvetica, sans-serif]
[/font][font=Arial, Helvetica, sans-serif][color=rgb(34, 34, 34)]Please refer below documentation for information on applying CSS to Forms:[/color]
[color=rgb(34, 34, 34)]1. [url=https://documentation.decisions.com/docs/using-css-forms]Using CSS with Forms[/url][/color]
[color=rgb(34, 34, 34)]2. [url=https://documentation.decisions.com/docs/css-styling-form-controls]CSS Styling Form Controls[/url][/color]
[/font]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Before:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif][img]https://i.imgur.com/pLrG5i8.png[/img][/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]After:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif][img]https://i.imgur.com/ijuBhQx.png[/img][/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[i]edited by kshitij@decisions.com on 11/11/2020[/i] -
[quote=kshitij@decisions.com][font=Arial, Helvetica, sans-serif]We can achieve this using CSS. Please find it attached. Youll need to apply this to your Button component.[/font]
[font=Arial, Helvetica, sans-serif]
[/font][font=Arial, Helvetica, sans-serif][color=rgb(34, 34, 34)]Please refer below documentation for information on applying CSS to Forms:[/color]
[color=rgb(34, 34, 34)]1. [url=https://documentation.decisions.com/docs/using-css-forms]Using CSS with Forms[/url][/color]
[color=rgb(34, 34, 34)]2. [url=https://documentation.decisions.com/docs/css-styling-form-controls]CSS Styling Form Controls[/url][/color]
[/font]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Before:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif][img]https://i.imgur.com/pLrG5i8.png[/img][/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]After:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif][img]https://i.imgur.com/ijuBhQx.png[/img][/font][/color][color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]
[/font][/color]
[i]edited by kshitij@decisions.com on 11/11/2020[/i][/quote] -
Hi how can I apply wrapping text to a drop down list?
Howdy, Stranger!
Categories
- 4.4K All Categories
- 81 General
- 13 Training
- 209 Installation / Setup
- 1.2K Flows
- 110 Rules
- 270 Administration
- 213 Portal
- 497 General Q & A
- 711 Forms
- 346 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 187 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 230 Integrations
- 29 Multi-Tenant
- 27 SDK
- 81 Modules
- 59 Settings
- 26 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions