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.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions