From a4da309164f9825e5d5ad0c82df5c9e707c88598 Mon Sep 17 00:00:00 2001 From: yaso-meth Date: Tue, 30 Jul 2024 11:31:58 +0200 Subject: [PATCH] add padding to align with app --- .../patient_manager/lib/components/profileUserUpdate.dart | 1 - Frontend/patient_manager/lib/pages/profileUpdate.dart | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Frontend/patient_manager/lib/components/profileUserUpdate.dart b/Frontend/patient_manager/lib/components/profileUserUpdate.dart index dc9fc3e0..20469764 100644 --- a/Frontend/patient_manager/lib/components/profileUserUpdate.dart +++ b/Frontend/patient_manager/lib/components/profileUserUpdate.dart @@ -102,7 +102,6 @@ class _ProfileUserUpdateState extends State { Widget build(BuildContext context) { return Column( children: [ - const SizedBox(height: 15.0), const Text( "Update User profile:", style: TextStyle( diff --git a/Frontend/patient_manager/lib/pages/profileUpdate.dart b/Frontend/patient_manager/lib/pages/profileUpdate.dart index 5296b2ad..a6493384 100644 --- a/Frontend/patient_manager/lib/pages/profileUpdate.dart +++ b/Frontend/patient_manager/lib/pages/profileUpdate.dart @@ -39,8 +39,11 @@ class _ProfileUpdateState extends State { Widget build(BuildContext context) { return Scaffold( appBar: const MyAppBar(barTitle: "Update Profile"), - body: Center( - child: _widgetOptions.elementAt(0), + body: Padding( + padding: const EdgeInsets.all(15.0), + child: Center( + child: _widgetOptions.elementAt(0), + ), ), // bottomNavigationBar: GNav( // //hoverColor: Colors.lightBlueAccent,