On non-desktop, split the two input sections for readability

This commit is contained in:
zontreck 2025-03-14 23:39:06 -07:00
parent db7130aca5
commit 41b32923dd

View file

@ -141,19 +141,42 @@ class BugVaultLoadPageState extends State<BugVaultLoadPage> {
"The URL to where the instance of BugVault is running", "The URL to where the instance of BugVault is running",
), ),
), ),
Row( if (Platform.isAndroid || Platform.isIOS)
children: [ Column(
Text("HOST / FQDN :"), children: [
Expanded(child: highlightTextField(URL_CONTROLLER)), Row(
Text("PORT :"), children: [
Expanded( Text("HOST / FQDN :"),
child: highlightTextField( Expanded(child: highlightTextField(URL_CONTROLLER)),
PORT_CONTROLLER, ],
keyboardType: TextInputType.number,
), ),
), Row(
], children: [
), Text("PORT :"),
Expanded(
child: highlightTextField(
PORT_CONTROLLER,
keyboardType: TextInputType.number,
),
),
],
),
],
)
else
Row(
children: [
Text("HOST / FQDN :"),
Expanded(child: highlightTextField(URL_CONTROLLER)),
Text("PORT :"),
Expanded(
child: highlightTextField(
PORT_CONTROLLER,
keyboardType: TextInputType.number,
),
),
],
),
ListTile( ListTile(
title: Text("NOTICE"), title: Text("NOTICE"),
subtitle: Text( subtitle: Text(