allow text to wrap in inline tooltips
This commit is contained in:
parent
3be53cc398
commit
307eb92227
1 changed files with 9 additions and 7 deletions
|
|
@ -41,14 +41,16 @@ class InlineTooltip extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(width: 8),
|
||||
// Text in the middle
|
||||
Center(
|
||||
child: Text(
|
||||
instructionsEnum.body(L10n.of(context)!),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
height: 1.5,
|
||||
Flexible(
|
||||
child: Center(
|
||||
child: Text(
|
||||
instructionsEnum.body(L10n.of(context)!),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
height: 1.5,
|
||||
),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
textAlign: TextAlign.left,
|
||||
),
|
||||
),
|
||||
// Close button on the right
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue