add padding to window title
This commit is contained in:
parent
ff498ef69b
commit
51b9859285
1 changed files with 11 additions and 7 deletions
|
|
@ -99,8 +99,11 @@ class _MihPackageWindowState extends State<MihPackageWindow> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(horizontal: 10.0),
|
||||||
child: Text(
|
child: Text(
|
||||||
widget.windowTitle,
|
widget.windowTitle,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: windowTitleSize,
|
fontSize: windowTitleSize,
|
||||||
|
|
@ -109,6 +112,7 @@ class _MihPackageWindowState extends State<MihPackageWindow> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: (widget.menuOptions?.isNotEmpty ?? false),
|
visible: (widget.menuOptions?.isNotEmpty ?? false),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue