diff --git a/lib/ui/ftp_settings.dart b/lib/ui/ftp_settings.dart index acbd980..ca1dc2a 100644 --- a/lib/ui/ftp_settings.dart +++ b/lib/ui/ftp_settings.dart @@ -207,7 +207,7 @@ Future editFtpServer(BuildContext context, AppController c, {FtpServ child: TextField( controller: host, keyboardType: TextInputType.url, - decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)')), + decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)'), helperMaxLines: 3), onChanged: (_) => set(() {}), ), ), @@ -265,7 +265,7 @@ Future editFtpServer(BuildContext context, AppController c, {FtpServ ), TextField( controller: root, - decoration: InputDecoration(labelText: tr('시작 폴더 (비우면 로그인한 곳)'), helperText: tr('예: /volume1/video · 탭의 맨 위가 됩니다')), + decoration: InputDecoration(labelText: tr('시작 폴더 (비우면 로그인한 곳)'), helperText: tr('예: /volume1/video · 탭의 맨 위가 됩니다'), helperMaxLines: 3), ), if (security != 'none') ...[ const SizedBox(height: 6), diff --git a/lib/ui/sftp_settings.dart b/lib/ui/sftp_settings.dart index 84f7a2d..a425b6b 100644 --- a/lib/ui/sftp_settings.dart +++ b/lib/ui/sftp_settings.dart @@ -254,7 +254,7 @@ Future editSftpServer(BuildContext context, AppController c, {SftpS child: TextField( controller: host, keyboardType: TextInputType.url, - decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)')), + decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)'), helperMaxLines: 3), onChanged: (_) => set(() {}), ), ), @@ -302,7 +302,7 @@ Future editSftpServer(BuildContext context, AppController c, {SftpS ), TextField( controller: root, - decoration: InputDecoration(labelText: tr('시작 폴더 (비우면 홈 폴더)'), helperText: tr('예: /volume1/video · 탭의 맨 위가 됩니다')), + decoration: InputDecoration(labelText: tr('시작 폴더 (비우면 홈 폴더)'), helperText: tr('예: /volume1/video · 탭의 맨 위가 됩니다'), helperMaxLines: 3), ), CheckboxListTile( contentPadding: EdgeInsets.zero, diff --git a/lib/ui/smb_settings.dart b/lib/ui/smb_settings.dart index f5767a1..b7acc82 100644 --- a/lib/ui/smb_settings.dart +++ b/lib/ui/smb_settings.dart @@ -175,7 +175,7 @@ Future editSmbServer(BuildContext context, AppController c, {SmbServ child: TextField( controller: host, keyboardType: TextInputType.url, - decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)')), + decoration: InputDecoration(labelText: tr('서버 주소'), helperText: tr('예: nas.local · 192.168.0.10 · 100.x.y.z (Tailscale)'), helperMaxLines: 3), onChanged: (_) => set(() {}), ), ), @@ -208,7 +208,7 @@ Future editSmbServer(BuildContext context, AppController c, {SmbServ ), TextField( controller: share, - decoration: InputDecoration(labelText: tr('공유 이름'), helperText: tr('예: video · home (\\\\서버\\공유 의 공유)')), + decoration: InputDecoration(labelText: tr('공유 이름'), helperText: tr('예: video · home (\\\\서버\\공유 의 공유)'), helperMaxLines: 3), onChanged: (_) => set(() {}), ), TextField(controller: root, decoration: InputDecoration(labelText: tr('시작 폴더 (공유 안, 비우면 맨 위)'))), diff --git a/lib/ui/webdav_settings.dart b/lib/ui/webdav_settings.dart index 214cb1f..b39b750 100644 --- a/lib/ui/webdav_settings.dart +++ b/lib/ui/webdav_settings.dart @@ -165,6 +165,7 @@ Future editDavServer(BuildContext context, AppController c, {DavServ decoration: InputDecoration( labelText: tr('주소'), helperText: tr('예: https://nas.local:5006/home · https://cloud.example.com/remote.php/dav/files/아이디'), + helperMaxLines: 3, ), onChanged: (_) => set(() {}), ),