Skip to content

Commit 96429a8

Browse files
committed
adjust gtt export ui
1 parent 31497ea commit 96429a8

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

lib/com/hydrologis/smash/import_export_plugins/export/gtt/gtt_export.dart

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -363,30 +363,24 @@ class _GttExportWidgetState extends State<GttExportWidget> {
363363
bold: true),
364364
),
365365
Padding(
366-
padding: SmashUI
367-
.defaultPadding(),
368-
child: SmashUI.smallText(
369-
IEL
370-
.of(context)
371-
.gttExport_dataUploadedSelectedProject, //"The following data will be uploaded upon sync."
372-
color: Colors.grey),
373-
),
374-
Padding(
375-
padding: SmashUI
376-
.defaultPadding(),
366+
padding:
367+
EdgeInsets.symmetric(
368+
vertical: SmashUI
369+
.DEFAULT_PADDING,
370+
horizontal: 24),
377371
child: SmashUI.smallText(
378-
IEL
379-
.of(context)
380-
.gttExport_contactAdmin, //"The following data will be uploaded upon sync."
372+
//"The following data will be uploaded upon sync. If there is no available project, please contact your admin."
373+
"${IEL.of(context).gttExport_dataUploadedSelectedProject} ${IEL.of(context).gttExport_contactAdmin}",
381374
color: Colors.grey),
382375
),
383376
Expanded(
384377
child: ListView(
378+
padding: EdgeInsets.all(
379+
SmashUI
380+
.DEFAULT_PADDING),
385381
children: <Widget>[
386382
// projWidget,
387-
SizedBox(
388-
height: 32,
389-
),
383+
SizedBox(height: 8),
390384
ListTile(
391385
leading: Icon(
392386
SmashIcons
@@ -397,6 +391,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
397391
title: SmashUI.normalText(
398392
"${IEL.of(context).gttExport_formNotes}: $_formNotesCount"), //
399393
),
394+
SizedBox(height: 16),
400395
ListTile(
401396
leading: Icon(
402397
SmashIcons.logIcon,
@@ -415,9 +410,10 @@ class _GttExportWidgetState extends State<GttExportWidget> {
415410
setState(() =>
416411
_selectedGpsLogProj =
417412
s.toString()),
413+
isExpanded: true,
418414
),
419415
),
420-
416+
SizedBox(height: 16),
421417
ListTile(
422418
leading: Icon(
423419
SmashIcons
@@ -439,8 +435,10 @@ class _GttExportWidgetState extends State<GttExportWidget> {
439435
_selectedSimpleNotesProj =
440436
s.toString();
441437
}),
438+
isExpanded: true,
442439
),
443440
),
441+
SizedBox(height: 16),
444442
ListTile(
445443
leading: Icon(
446444
SmashIcons
@@ -460,6 +458,7 @@ class _GttExportWidgetState extends State<GttExportWidget> {
460458
setState(() =>
461459
_selectedImagesProj =
462460
s.toString()),
461+
isExpanded: true,
463462
),
464463
),
465464
],

0 commit comments

Comments
 (0)