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)),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 14),
|
||||
padding: const EdgeInsets.only(top: 14, right: 40, left: 40),
|
||||
child: Align(
|
||||
alignment: Alignment.center,
|
||||
child: Obx(() {
|
||||
return Text(controller.actionType.value == IdentityActionType.create
|
||||
? AppLocalizations.of(context).createNewIdentity.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));
|
||||
}),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user