diff --git a/lib/dashbot/core/model/dashbot_window_model.dart b/lib/dashbot/core/model/dashbot_window_model.dart index 870f09e6..05959c6c 100644 --- a/lib/dashbot/core/model/dashbot_window_model.dart +++ b/lib/dashbot/core/model/dashbot_window_model.dart @@ -9,7 +9,7 @@ class DashbotWindowModel { const DashbotWindowModel({ this.width = 400, - this.height = 475, + this.height = 500, this.right = 50, this.bottom = 100, this.isActive = false, diff --git a/lib/dashbot/core/providers/dashbot_window_notifier.dart b/lib/dashbot/core/providers/dashbot_window_notifier.dart index acdfa144..3a3cebef 100644 --- a/lib/dashbot/core/providers/dashbot_window_notifier.dart +++ b/lib/dashbot/core/providers/dashbot_window_notifier.dart @@ -16,7 +16,7 @@ class DashbotWindowNotifier extends StateNotifier { final newWidth = (state.width - dx).clamp(400, screenSize.width - state.right); final newHeight = - (state.height - dy).clamp(460, screenSize.height - state.bottom); + (state.height - dy).clamp(515, screenSize.height - state.bottom); state = state.copyWith( width: newWidth.toDouble(), diff --git a/lib/dashbot/features/home/view/pages/home_page.dart b/lib/dashbot/features/home/view/pages/home_page.dart index 8dfc13ec..243d0bc6 100644 --- a/lib/dashbot/features/home/view/pages/home_page.dart +++ b/lib/dashbot/features/home/view/pages/home_page.dart @@ -40,6 +40,7 @@ class _DashbotHomePageState extends ConsumerState { return Container( padding: const EdgeInsets.all(16), child: Column( + mainAxisAlignment: MainAxisAlignment.center, children: [ kVSpacer16, DashbotIcons.getDashbotIcon1(width: 60), @@ -165,6 +166,7 @@ class _DashbotHomePageState extends ConsumerState { ), ], ), + kVSpacer20, ], ), );