Tweak default Center/Middle dimensions.

We set dimensions to 1fr instead of 100% (original request) or blank (previous change) for consistency with the other containers.
This commit is contained in:
Rodrigo Girão Serrão
2023-03-13 11:48:49 +00:00
parent 0e51520a2c
commit 429c8a3649
2 changed files with 64 additions and 63 deletions

View File

@@ -68,6 +68,7 @@ class Center(Widget):
Center {
align-horizontal: center;
height: auto;
width: 1fr;
}
"""
@@ -79,6 +80,7 @@ class Middle(Widget):
Middle {
align-vertical: middle;
width: auto;
height: 1fr;
}
"""

File diff suppressed because one or more lines are too long