add padding autocomplete
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
2d6322f799
commit
4a42e3ef1b
@ -309,7 +309,7 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
double maxHeight = 0;
|
||||
for (var peer in options) {
|
||||
if (maxHeight < 200)
|
||||
maxHeight += 47;
|
||||
maxHeight += 52;
|
||||
}
|
||||
return Align(
|
||||
alignment: Alignment.topLeft,
|
||||
@ -320,10 +320,13 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
maxHeight: maxHeight,
|
||||
maxWidth: 320,
|
||||
),
|
||||
child: ListView(
|
||||
children: options
|
||||
.map((peer) => _buildPeerTile(context, peer))
|
||||
.toList()
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(top: 5),
|
||||
child: ListView(
|
||||
children: options
|
||||
.map((peer) => _buildPeerTile(context, peer))
|
||||
.toList()
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user