add padding to window title

This commit is contained in:
2025-05-28 12:08:16 +02:00
parent ff498ef69b
commit 51b9859285

View File

@@ -99,13 +99,17 @@ class _MihPackageWindowState extends State<MihPackageWindow> {
), ),
), ),
Expanded( Expanded(
child: Text( child: Padding(
widget.windowTitle, padding: const EdgeInsets.symmetric(horizontal: 10.0),
textAlign: TextAlign.center, child: Text(
style: TextStyle( widget.windowTitle,
fontSize: windowTitleSize, overflow: TextOverflow.ellipsis,
fontWeight: FontWeight.bold, textAlign: TextAlign.center,
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(), style: TextStyle(
fontSize: windowTitleSize,
fontWeight: FontWeight.bold,
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
),
), ),
), ),
), ),