fix: popup area

This commit is contained in:
2026-05-08 19:33:22 +02:00
parent 726630027e
commit 4520281cb6

View File

@@ -297,20 +297,7 @@ class _CreateGameViewState extends State<CreateGameView> {
// Choose color tile // Choose color tile
ChooseTile( ChooseTile(
title: loc.color, title: loc.color,
trailing: Row( trailing:
spacing: 8,
children: [
// Selected Color
Container(
width: 16,
height: 16,
margin: const EdgeInsets.only(left: 12),
decoration: BoxDecoration(
color: getColorFromGameColor(selectedColor!),
shape: BoxShape.circle,
),
),
//Popup //Popup
CustomPopup( CustomPopup(
showArrow: true, showArrow: true,
@@ -399,12 +386,25 @@ class _CreateGameViewState extends State<CreateGameView> {
), ),
), ),
), ),
child: Text( child: Row(
translateGameColorToString(selectedColor!, context), spacing: 8,
children: [
// Selected Color
Container(
width: 16,
height: 16,
margin: const EdgeInsets.only(left: 12),
decoration: BoxDecoration(
color: getColorFromGameColor(selectedColor!),
shape: BoxShape.circle,
),
),
Text(
translateGameColorToString(selectedColor!, context),
),
],
), ),
), ),
],
),
), ),
// Description input field // Description input field