TF-3704 Fix space between icon and label mailbox item
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -1,9 +1,8 @@
|
|||||||
|
|
||||||
class MailboxItemWidgetStyles {
|
class MailboxItemWidgetStyles {
|
||||||
static const double selectionIconSize = 20;
|
static const double selectionIconSize = 20;
|
||||||
static const double space = 4;
|
|
||||||
static const double padding = 8;
|
|
||||||
static const double itemPadding = 10;
|
static const double itemPadding = 10;
|
||||||
static const double borderRadius = 8;
|
static const double borderRadius = 8;
|
||||||
static const double height = 36;
|
static const double height = 36;
|
||||||
|
static const double labelIconSpace = 16;
|
||||||
}
|
}
|
||||||
@@ -94,7 +94,7 @@ class _MailboxItemWidgetState extends State<MailboxItemWidget> {
|
|||||||
selectionMode: widget.selectionMode,
|
selectionMode: widget.selectionMode,
|
||||||
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
||||||
),
|
),
|
||||||
const SizedBox(width: MailboxItemWidgetStyles.space),
|
const SizedBox(width: MailboxItemWidgetStyles.labelIconSpace),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: LabelMailboxItemWidget(
|
child: LabelMailboxItemWidget(
|
||||||
itemKey: _key,
|
itemKey: _key,
|
||||||
@@ -139,7 +139,7 @@ class _MailboxItemWidgetState extends State<MailboxItemWidget> {
|
|||||||
selectionMode: widget.selectionMode,
|
selectionMode: widget.selectionMode,
|
||||||
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
||||||
),
|
),
|
||||||
const SizedBox(width: MailboxItemWidgetStyles.space),
|
const SizedBox(width: MailboxItemWidgetStyles.labelIconSpace),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: LabelMailboxItemWidget(
|
child: LabelMailboxItemWidget(
|
||||||
itemKey: _key,
|
itemKey: _key,
|
||||||
@@ -184,7 +184,7 @@ class _MailboxItemWidgetState extends State<MailboxItemWidget> {
|
|||||||
selectionMode: widget.selectionMode,
|
selectionMode: widget.selectionMode,
|
||||||
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
||||||
),
|
),
|
||||||
const SizedBox(width: MailboxItemWidgetStyles.padding),
|
const SizedBox(width: MailboxItemWidgetStyles.labelIconSpace),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: LabelMailboxItemWidget(
|
child: LabelMailboxItemWidget(
|
||||||
itemKey: _key,
|
itemKey: _key,
|
||||||
@@ -241,7 +241,7 @@ class _MailboxItemWidgetState extends State<MailboxItemWidget> {
|
|||||||
selectionMode: widget.selectionMode,
|
selectionMode: widget.selectionMode,
|
||||||
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
onSelectMailboxFolderClick: widget.onSelectMailboxFolderClick,
|
||||||
),
|
),
|
||||||
const SizedBox(width: MailboxItemWidgetStyles.padding),
|
const SizedBox(width: MailboxItemWidgetStyles.labelIconSpace),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: LabelMailboxItemWidget(
|
child: LabelMailboxItemWidget(
|
||||||
itemKey: _key,
|
itemKey: _key,
|
||||||
|
|||||||
Reference in New Issue
Block a user