계정 추가/엑셀 등록 칸 크기를 25%로 재축소
정사각형 기본 크기(절반 폭)로 되돌렸더니 다시 너무 커졌다는 피드백에 따라 25% 크기로 재조정. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -673,7 +673,9 @@ class _TeacherStudentManagementPageState
|
||||
// 📐 학생 목록 타일은 "실시간 출석 확인" 목록의 타일(220x148)과 동일하게 맞춘다.
|
||||
final bool isWide = constraints.maxWidth >= 800;
|
||||
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(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -681,8 +683,8 @@ class _TeacherStudentManagementPageState
|
||||
_sectionTitle('신규 학생 계정 추가'),
|
||||
const SizedBox(height: 16),
|
||||
SizedBox(
|
||||
width: isWide ? squareSize : double.infinity,
|
||||
height: isWide ? squareSize : null,
|
||||
width: isWide ? formSquareSize : double.infinity,
|
||||
height: isWide ? formSquareSize : null,
|
||||
child: _buildAddAccountBox(),
|
||||
),
|
||||
],
|
||||
@@ -694,8 +696,8 @@ class _TeacherStudentManagementPageState
|
||||
_sectionTitle('엑셀로 한번에 추가 (신입생 등)'),
|
||||
const SizedBox(height: 16),
|
||||
SizedBox(
|
||||
width: isWide ? squareSize : double.infinity,
|
||||
height: isWide ? squareSize : 240,
|
||||
width: isWide ? formSquareSize : double.infinity,
|
||||
height: isWide ? formSquareSize : 240,
|
||||
child: _buildExcelBox(),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user