diff --git a/lib/ui/teacher_student_management_page.dart b/lib/ui/teacher_student_management_page.dart index 3dd83ca..64c2add 100644 --- a/lib/ui/teacher_student_management_page.dart +++ b/lib/ui/teacher_student_management_page.dart @@ -669,10 +669,11 @@ class _TeacherStudentManagementPageState padding: const EdgeInsets.all(24.0), child: LayoutBuilder( builder: (context, constraints) { - // πŸ–₯️ μ›Ή(넓은 ν™”λ©΄)은 계정 μΆ”κ°€/μ—‘μ…€ 등둝을 λ‚˜λž€νžˆ, 폰은 기쑴처럼 μ„Έλ‘œλ‘œ μŒ“λŠ”λ‹€. - // πŸ“ 크기/폰트 λΉ„μœ¨μ€ "μ‹€μ‹œκ°„ μΆœμ„ 확인" λͺ©λ‘μ˜ 타일(220x148)κ³Ό λ™μΌν•˜κ²Œ λ§žμΆ˜λ‹€. + // πŸ–₯️ μ›Ή(넓은 ν™”λ©΄)은 계정 μΆ”κ°€/μ—‘μ…€ 등둝을 μ •μ‚¬κ°ν˜• 2칸으둜 λ‚˜λž€νžˆ, 폰은 기쑴처럼 μ„Έλ‘œλ‘œ μŒ“λŠ”λ‹€. + // πŸ“ 학생 λͺ©λ‘ 타일은 "μ‹€μ‹œκ°„ μΆœμ„ 확인" λͺ©λ‘μ˜ 타일(220x148)κ³Ό λ™μΌν•˜κ²Œ λ§žμΆ˜λ‹€. final bool isWide = constraints.maxWidth >= 800; final double listWidth = constraints.maxWidth; + final double squareSize = (constraints.maxWidth - 20) / 2; final Widget addBoxColumn = Column( crossAxisAlignment: CrossAxisAlignment.start, @@ -680,8 +681,8 @@ class _TeacherStudentManagementPageState _sectionTitle('μ‹ κ·œ 학생 계정 μΆ”κ°€'), const SizedBox(height: 16), SizedBox( - width: isWide ? kAttendanceTileWidth : double.infinity, - height: isWide ? kAttendanceTileHeight : null, + width: isWide ? squareSize : double.infinity, + height: isWide ? squareSize : null, child: _buildAddAccountBox(), ), ], @@ -693,8 +694,8 @@ class _TeacherStudentManagementPageState _sectionTitle('μ—‘μ…€λ‘œ ν•œλ²ˆμ— μΆ”κ°€ (μ‹ μž…μƒ λ“±)'), const SizedBox(height: 16), SizedBox( - width: isWide ? kAttendanceTileWidth : double.infinity, - height: isWide ? kAttendanceTileHeight : 240, + width: isWide ? squareSize : double.infinity, + height: isWide ? squareSize : 240, child: _buildExcelBox(), ), ],