Skip to content

Commit

Permalink
Vertical dividers between sidebars and main content
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnicJelle committed Oct 13, 2024
1 parent 552d32f commit cbe5e53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/main_menu/main_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class _MainMenuState extends ConsumerState<MainMenu> {
],
),
),
const VerticalDivider(width: 2),
Expanded(
child: switch (state) {
MainMenuState.projects => const ProjectsScreen(),
Expand Down
2 changes: 1 addition & 1 deletion lib/project_view/control_panel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ControlPanel extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const Padding(
padding: EdgeInsets.only(top: 16),
padding: EdgeInsets.only(top: 16, left: 8),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.max,
Expand Down
1 change: 1 addition & 0 deletions lib/project_view/project_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class ProjectView extends ConsumerWidget {
constraints: const BoxConstraints(maxWidth: 200),
child: const Sidebar(),
),
const VerticalDivider(width: 2),
Expanded(
child: openConfig == null ? const ControlPanel() : ConfigEditor(openConfig),
),
Expand Down

0 comments on commit cbe5e53

Please sign in to comment.