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.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions