Open jung-chien opened 7 months ago
我在用Unity跟UIWidget1.5.4开发Android程序。 但使用了TextField的時候、画面的上邊會出現一個空白。 出現了這後、之後剩下別的画面所有都會有這空白。
画面是用這下面的代碼創建了。 如果刪除SafeArea的話使用TextField,空白就不會出現,但UI會與前置鏡頭重疊。
【環境】 Android API Level : 33 UIWidget : 1.5.4
public Widget ToWidget() => new SafeArea( child: new Scaffold( backgroundColor: BackgroundColor, appBar: AppBar, body: Body, bottomNavigationBar: BottomNavigationBar, floatingActionButton: FloatingActionButton ) );
【按TextField前】
【按TextField後】
我在用Unity跟UIWidget1.5.4开发Android程序。 但使用了TextField的時候、画面的上邊會出現一個空白。 出現了這後、之後剩下別的画面所有都會有這空白。
画面是用這下面的代碼創建了。 如果刪除SafeArea的話使用TextField,空白就不會出現,但UI會與前置鏡頭重疊。
【環境】 Android API Level : 33 UIWidget : 1.5.4
【按TextField前】
【按TextField後】