Merge pull request #732 from pangeachat/center-inline-tooltip-text
center text in inline tooltip
This commit is contained in:
commit
58f8a3f15f
1 changed files with 8 additions and 6 deletions
|
|
@ -40,13 +40,15 @@ class InlineTooltip extends StatelessWidget {
|
|||
const SizedBox(width: 8),
|
||||
// Text in the middle
|
||||
Expanded(
|
||||
child: Text(
|
||||
instructionsEnum.body(context),
|
||||
style: TextStyle(
|
||||
color: Theme.of(context).colorScheme.onSurface,
|
||||
height: 1.5,
|
||||
child: Center(
|
||||
child: Text(
|
||||
instructionsEnum.body(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