diff --git a/lib/ui/profile_customize_screen.dart b/lib/ui/profile_customize_screen.dart index 5e4aec5..714b9b5 100644 --- a/lib/ui/profile_customize_screen.dart +++ b/lib/ui/profile_customize_screen.dart @@ -138,45 +138,54 @@ class _ProfileCustomizeScreenState extends State { } Widget _buildCategoryTiles() { - return Row( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - Expanded( - flex: 3, - child: _CategoryTile( - title: '기본 프로필 꾸미기', - icon: Icons.person_rounded, - selected: _selectedCategory == 'basic_profile', - enabled: true, - onTap: () => setState(() => _selectedCategory = 'basic_profile'), + // 📏 ListView(스크롤 영역) 안에서는 높이가 정해져 있지 않아 Row에 + // stretch 정렬만 주면 자식 크기 계산이 깨진다. SizedBox로 높이를 못박아둔다. + return SizedBox( + height: 180, + child: Row( + crossAxisAlignment: CrossAxisAlignment.stretch, + children: [ + Expanded( + flex: 3, + child: _CategoryTile( + title: '기본 프로필 꾸미기', + icon: Icons.person_rounded, + selected: _selectedCategory == 'basic_profile', + enabled: true, + onTap: () => setState(() => _selectedCategory = 'basic_profile'), + ), ), - ), - const SizedBox(width: 12), - Expanded( - flex: 4, - child: Column( - children: [ - _CategoryTile( - title: '랭킹 · 친구창 배경', - subtitle: '준비중', - icon: Icons.leaderboard_rounded, - selected: false, - enabled: false, - onTap: null, - ), - const SizedBox(height: 12), - _CategoryTile( - title: '출석 · 그룹창 표시', - subtitle: '준비중', - icon: Icons.groups_rounded, - selected: false, - enabled: false, - onTap: null, - ), - ], + const SizedBox(width: 12), + Expanded( + flex: 4, + child: Column( + children: [ + Expanded( + child: _CategoryTile( + title: '랭킹 · 친구창 배경', + subtitle: '준비중', + icon: Icons.leaderboard_rounded, + selected: false, + enabled: false, + onTap: null, + ), + ), + const SizedBox(height: 12), + Expanded( + child: _CategoryTile( + title: '출석 · 그룹창 표시', + subtitle: '준비중', + icon: Icons.groups_rounded, + selected: false, + enabled: false, + onTap: null, + ), + ), + ], + ), ), - ), - ], + ], + ), ); }