fix window content sizing

This commit is contained in:
2025-05-12 13:00:49 +02:00
parent a69f10b93c
commit 2ca4aad727
3 changed files with 10 additions and 11 deletions

View File

@@ -145,15 +145,15 @@ class _MihAppWindowState extends State<MihAppWindow> {
getWindowHeader(),
Flexible(
child: Padding(
padding: const EdgeInsets.only(
left: 15,
right: 15,
bottom: 15,
padding: EdgeInsets.only(
left: horizontralWindowPadding,
right: horizontralWindowPadding,
bottom: vertticalWindowPadding,
),
child: ConstrainedBox(
constraints: BoxConstraints(
maxHeight: windowHeight * 0.7,
maxWidth: windowWidth * 0.7,
maxHeight: windowHeight * 0.85,
maxWidth: windowWidth * 0.85,
),
child: MihSingleChildScroll(
child: widget.windowBody))),