Patient view size fix

This commit is contained in:
2024-09-06 12:58:55 +02:00
parent 14ee71c6ce
commit 4d9fc4aee7
7 changed files with 46 additions and 19 deletions

View File

@@ -303,7 +303,7 @@ class _BuildFilesListState extends State<BuildFilesList> {
double height = size.height;
if (widget.files.isNotEmpty) {
return SizedBox(
height: height - 254,
height: height - 177,
child: ListView.separated(
shrinkWrap: true,
separatorBuilder: (BuildContext context, int index) {
@@ -353,7 +353,7 @@ class _BuildFilesListState extends State<BuildFilesList> {
);
} else {
return SizedBox(
height: height - 250,
height: height - 150,
child: const Center(
child: Text(
"No Documents Available",

View File

@@ -280,7 +280,7 @@ class _BuildNotesListState extends State<BuildNotesList> {
double height = size.height;
if (widget.notes.isNotEmpty) {
return SizedBox(
height: height - 250,
height: height - 173,
child: ListView.separated(
shrinkWrap: true,
separatorBuilder: (BuildContext context, int index) {
@@ -322,7 +322,7 @@ class _BuildNotesListState extends State<BuildNotesList> {
);
} else {
return SizedBox(
height: height - 250,
height: height - 173,
child: const Center(
child: Text(
"No Notes Available",