From 456b8ca15f1cd9c8c21ce8b12ee420ede5cf35de Mon Sep 17 00:00:00 2001 From: konrad Date: Mon, 18 Mar 2019 11:30:14 +0100 Subject: [PATCH] Styling --- lib/components/label.dart | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/components/label.dart b/lib/components/label.dart index 8ae65b6..0d89fbb 100644 --- a/lib/components/label.dart +++ b/lib/components/label.dart @@ -30,7 +30,7 @@ class LabelComponentState extends State { return GestureDetector( onTap: widget.onTap, child: Container( - padding: EdgeInsets.all(8), + padding: EdgeInsets.symmetric(vertical: 5, horizontal: 8), decoration: BoxDecoration( color: widget.backgroundColor, borderRadius: BorderRadius.all(Radius.circular(3))), @@ -43,9 +43,18 @@ class LabelComponentState extends State { ), ), GestureDetector( - child: Icon( - Icons.close, - color: vWhite, + child: Container( + padding: EdgeInsets.all(3), + margin: EdgeInsets.symmetric(horizontal: 3), + decoration: BoxDecoration( + color: Color.fromARGB(50, 0, 0, 0), + shape: BoxShape.circle, + ), + child: Icon( + Icons.close, + color: vWhite, + size: 15, + ), ), onTap: widget.onDelete, ),