Skip to content

Commit

Permalink
Decrease menu items sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
imaNNeo committed Jul 31, 2023
1 parent 306989d commit dd479e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions example/lib/presentation/menu/menu_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ class _DocumentationIcon extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SizedBox(
width: 60,
height: 60,
width: AppDimens.menuDocumentationIconSize,
height: AppDimens.menuDocumentationIconSize,
child: IconButton(
onPressed: onTap,
icon: const Icon(
Icons.article,
color: Colors.white,
color: AppColors.contentColorWhite,
),
tooltip: 'Documentation',
),
Expand Down
5 changes: 3 additions & 2 deletions example/lib/presentation/resources/app_dimens.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
class AppDimens {
static const double menuMaxNeededWidth = 304;
static const double menuRowHeight = 74;
static const double menuIconSize = 36;
static const double menuTextSize = 24;
static const double menuIconSize = 32;
static const double menuDocumentationIconSize = 44;
static const double menuTextSize = 20;

static const double chartBoxMinWidth = 350;

Expand Down

0 comments on commit dd479e0

Please sign in to comment.