TF-1679: Support responsive for a long text in identity
(cherry picked from commit 74eeaf55e7a174941a498fa35710452e1f93c505)
This commit is contained in:
@@ -366,13 +366,16 @@ class IdentityCreatorView extends GetWidget<IdentityCreatorController> {
|
|||||||
onTap: () => controller.closeView(context)),
|
onTap: () => controller.closeView(context)),
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 14),
|
padding: const EdgeInsets.only(top: 14, right: 40, left: 40),
|
||||||
child: Align(
|
child: Align(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: Obx(() {
|
child: Obx(() {
|
||||||
return Text(controller.actionType.value == IdentityActionType.create
|
return Text(controller.actionType.value == IdentityActionType.create
|
||||||
? AppLocalizations.of(context).createNewIdentity.inCaps
|
? AppLocalizations.of(context).createNewIdentity.inCaps
|
||||||
: AppLocalizations.of(context).edit_identity.inCaps,
|
: AppLocalizations.of(context).edit_identity.inCaps,
|
||||||
|
maxLines: 1,
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 20, color: Colors.black));
|
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 20, color: Colors.black));
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user