Fix some padding inside cards
This commit is contained in:
parent
d9fa553e2f
commit
6a6ab3b2cb
@ -62,6 +62,8 @@ class EntityButtonCard extends StatelessWidget {
|
|||||||
onLongPress: () => entityWrapper.handleHold(),
|
onLongPress: () => entityWrapper.handleHold(),
|
||||||
onDoubleTap: () => entityWrapper.handleDoubleTap(),
|
onDoubleTap: () => entityWrapper.handleDoubleTap(),
|
||||||
child: Center(
|
child: Center(
|
||||||
|
child: Padding(
|
||||||
|
padding: EdgeInsets.only(top: 5),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
@ -70,6 +72,7 @@ class EntityButtonCard extends StatelessWidget {
|
|||||||
_buildName(context)
|
_buildName(context)
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
)
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
handleTap: true
|
handleTap: true
|
||||||
|
@ -30,10 +30,13 @@ class GlanceCard extends StatelessWidget {
|
|||||||
start, end
|
start, end
|
||||||
).map(
|
).map(
|
||||||
(EntityWrapper entity){
|
(EntityWrapper entity){
|
||||||
return EntityModel(
|
return Padding(
|
||||||
|
padding: EdgeInsets.symmetric(vertical: Sizes.rowPadding),
|
||||||
|
child: EntityModel(
|
||||||
entityWrapper: entity,
|
entityWrapper: entity,
|
||||||
child: _buildEntityContainer(context, entity),
|
child: _buildEntityContainer(context, entity),
|
||||||
handleTap: true
|
handleTap: true
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
).toList()
|
).toList()
|
||||||
|
Reference in New Issue
Block a user