계정 추가/엑셀 등록 칸 크기를 25%로 재축소

정사각형 기본 크기(절반 폭)로 되돌렸더니 다시 너무 커졌다는
피드백에 따라 25% 크기로 재조정.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-01 08:29:50 +09:00
co-authored by Claude Sonnet 5
parent 75f12b8c46
commit f49d6d8722
+7 -5
View File
@@ -673,7 +673,9 @@ class _TeacherStudentManagementPageState
// 📐 학생 목록 타일은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다. // 📐 학생 목록 타일은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다.
final bool isWide = constraints.maxWidth >= 800; final bool isWide = constraints.maxWidth >= 800;
final double listWidth = constraints.maxWidth; final double listWidth = constraints.maxWidth;
final double squareSize = (constraints.maxWidth - 20) / 2; // 📉 계정 추가 / 엑셀 등록 칸: 정사각형 기본 크기의 25%로 축소.
final double formSquareSize =
((constraints.maxWidth - 20) / 2) * 0.25;
final Widget addBoxColumn = Column( final Widget addBoxColumn = Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
@@ -681,8 +683,8 @@ class _TeacherStudentManagementPageState
_sectionTitle('신규 학생 계정 추가'), _sectionTitle('신규 학생 계정 추가'),
const SizedBox(height: 16), const SizedBox(height: 16),
SizedBox( SizedBox(
width: isWide ? squareSize : double.infinity, width: isWide ? formSquareSize : double.infinity,
height: isWide ? squareSize : null, height: isWide ? formSquareSize : null,
child: _buildAddAccountBox(), child: _buildAddAccountBox(),
), ),
], ],
@@ -694,8 +696,8 @@ class _TeacherStudentManagementPageState
_sectionTitle('엑셀로 한번에 추가 (신입생 등)'), _sectionTitle('엑셀로 한번에 추가 (신입생 등)'),
const SizedBox(height: 16), const SizedBox(height: 16),
SizedBox( SizedBox(
width: isWide ? squareSize : double.infinity, width: isWide ? formSquareSize : double.infinity,
height: isWide ? squareSize : 240, height: isWide ? formSquareSize : 240,
child: _buildExcelBox(), child: _buildExcelBox(),
), ),
], ],