From 16c55eba77af848c7eaa949a01fb52af0715eca7 Mon Sep 17 00:00:00 2001 From: nutchayut Date: Fri, 31 Jan 2025 18:09:31 +0700 Subject: [PATCH] bug fixed --- .../lib/Register/register_data.dart | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/neowallet_mobile/lib/Register/register_data.dart b/neowallet_mobile/lib/Register/register_data.dart index 20cf27eb..d88488a2 100644 --- a/neowallet_mobile/lib/Register/register_data.dart +++ b/neowallet_mobile/lib/Register/register_data.dart @@ -391,32 +391,34 @@ class _RegisterDataState extends State { Column( mainAxisSize: MainAxisSize.min, children: [ - Text( - isPassport? "English name_passport".tr(): "English name".tr(), + Row( + children: [ + Text( + isPassport? "English name_passport".tr(): "English name".tr(), + style: GoogleFonts.kanit( + color: Color(0xff565656), + fontSize: 15, + ), + ),Spacer() + ], + ), + TextField( style: GoogleFonts.kanit( color: Color(0xff565656), - fontSize: 15, + fontSize: 14, ), - ), - Expanded( - child: TextField( - style: GoogleFonts.kanit( - color: Color(0xff565656), - fontSize: 14, - ), - inputFormatters: [FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))], - keyboardType: TextInputType.text, - textAlign: TextAlign.right, - controller: nameEnEditText, - decoration: InputDecoration( - hintText: '', - suffixIcon: Icon( - Icons.arrow_forward_ios_rounded, - size: 15, - color: Colors.grey, - ), - border: InputBorder.none, + inputFormatters: [FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))], + keyboardType: TextInputType.text, + textAlign: TextAlign.right, + controller: nameEnEditText, + decoration: InputDecoration( + hintText: '', + suffixIcon: Icon( + Icons.arrow_forward_ios_rounded, + size: 15, + color: Colors.grey, ), + border: InputBorder.none, ), ), // Expanded(