From 75f12b8c46b45f9d8ba973df64ecfbfd740aeef6 Mon Sep 17 00:00:00 2001 From: sihoo Date: Tue, 1 Sep 2026 08:24:19 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=84=EC=A0=95=20=EC=B6=94=EA=B0=80/?= =?UTF-8?q?=EC=97=91=EC=85=80=20=EB=93=B1=EB=A1=9D=20=EC=B9=B8=EB=A7=8C=20?= =?UTF-8?q?=EC=9B=90=EB=9E=98=EC=9D=98=20=EC=A0=95=EC=82=AC=EA=B0=81?= =?UTF-8?q?=ED=98=95(=EC=A0=88=EB=B0=98=20=ED=8F=AD)=20=ED=81=AC=EA=B8=B0?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=B5=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NFC 출석 확인 타일 규격에 맞췄던 계정 추가/엑셀 등록 칸 크기를 되돌리고, 학생 목록 타일 크기/폰트는 그대로 유지. Co-Authored-By: Claude Sonnet 5 --- lib/ui/teacher_student_management_page.dart | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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(), ), ],