Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

student interface ui issue fixed #428

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class _PersonDataExcelReportState extends State<PersonDataExcelReport> {
ignoring: widget.isFetching,
child: ElevatedButton.icon(
icon: Icon(Icons.download),
label: Text('Excel Export'),
label: Text('Excel Export',style: TextStyle(fontSize: 12),),
style: ElevatedButton.styleFrom(
backgroundColor: Colors.deepPurpleAccent,
shape:
Expand Down
31 changes: 19 additions & 12 deletions campus/frontend/lib/avinya/enrollment/lib/widgets/students.dart
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ class _StudentsState extends State<Students> {
},
),
SizedBox(
width: 30,
width: 10,
),
Text('Select a Programme :'),
SizedBox(
Expand Down Expand Up @@ -344,13 +344,13 @@ class _StudentsState extends State<Students> {
},
),
SizedBox(
width: 30,
width: 10,
),
Center(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: SizedBox(
width: 300,
width: 250,
child: TextField(
decoration: InputDecoration(
labelText: 'Search by Name or NIC',
Expand All @@ -367,11 +367,13 @@ class _StudentsState extends State<Students> {
SizedBox(
width: 10,
),
Expanded(
FittedBox(
alignment: Alignment.topLeft,
fit: BoxFit.contain,
child: Container(
alignment: Alignment.bottomRight,
margin: const EdgeInsets.only(right: 20.0),
width: 25.0,
width: 100.0,
height: 30.0,
child: ElevatedButton(
onPressed: () {
Expand All @@ -384,7 +386,10 @@ class _StudentsState extends State<Students> {
),
);
},
child: const Text('Create New'),
child: const Text(
'Create New',
style: TextStyle(fontSize: 12),
),
style: ElevatedButton.styleFrom(
padding: const EdgeInsets.symmetric(
horizontal: 10.0, vertical: 5.0),
Expand All @@ -394,14 +399,16 @@ class _StudentsState extends State<Students> {
),
),
SizedBox(
width: 10,
width: 5,
),
Expanded(
FittedBox(
alignment: Alignment.topLeft,
fit: BoxFit.contain,
child: Container(
alignment: Alignment.bottomRight,
margin: EdgeInsets.only(right: 20.0),
width: 25.0,
height: 30.0,
alignment: Alignment.centerLeft,
margin: EdgeInsets.only(right: 10.0),
width: 140.0,
height: 50.0,
child: PersonDataExcelReport(
fetchedPersonData: filteredStudents,
columnNames: columnNames,
Expand Down
Loading