fix: design and layout issues (#391)

* fix: adjust selection sizes

* fix: reduce background separation

* chore: text recording

* chore: fix size
This commit is contained in:
Oscar
2023-01-20 14:11:30 +01:00
committed by GitHub
parent 5f8996a293
commit 211915dd3a
5 changed files with 9 additions and 8 deletions

View File

@ -58,8 +58,8 @@ class BackgroundSelectionTabBarView extends StatelessWidget {
),
);
},
separatorBuilder: (context, index) => const SizedBox.square(
dimension: 32,
separatorBuilder: (context, index) => SizedBox.square(
dimension: isSmall ? 8 : 16,
),
),
),

View File

@ -59,13 +59,13 @@ class _CharacterSelectionElement extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
width: 100,
height: 100,
width: 135,
height: 135,
padding: const EdgeInsets.all(5),
decoration: BoxDecoration(
shape: BoxShape.circle,
color: isSelected ? null : HoloBoothColors.darkBlue,
gradient: isSelected ? HoloBoothGradients.secondarySix : null,
gradient: isSelected ? HoloBoothGradients.secondaryOne : null,
),
child: DecoratedBox(
decoration: const BoxDecoration(

View File

@ -109,6 +109,7 @@ class _PropsSelectionTabBarViewState extends State<PropsSelectionTabBarView>
],
),
),
const SizedBox(height: 10)
],
);
}

View File

@ -4,8 +4,8 @@ import 'package:holobooth_ui/holobooth_ui.dart';
const _collapseButtonHeight = 50.0;
const _collapseButtonWidth = 100.0;
const _panelHeightCollapsed = 200.0;
const _panelHeightNotCollapsed = 350.0;
const _panelHeightCollapsed = 179.0;
const _panelHeightNotCollapsed = 365.0;
class SelectionLayer extends StatelessWidget {
const SelectionLayer({super.key});

View File

@ -146,7 +146,7 @@
"type": "text",
"placeholders": {}
},
"recordButtonText": "Record",
"recordButtonText": "Record video",
"@recordButtonText": {
"description": "Text displayed on a record button."
},