Fixing flatpak issue with the KDE SDK that makes button have no width on startup.

This commit is contained in:
Adsooi 2022-02-07 13:14:15 +01:00
parent 033f065f92
commit dd7e078525
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@
**Fixed bugs** **Fixed bugs**
* Confined packages (snapcraft & flatpak) won't show error messages related to update checks. * Sandboxed packages (snapcraft and flatpak) won't show error messages related to update checks.
* Equations of the form (x + y) / z were not being simplified properly. * Equations of the form (x + y) / z were not being simplified properly.
## v0.1.2 (30 Sep 2021) ## v0.1.2 (30 Sep 2021)

View file

@ -50,7 +50,7 @@ Column {
Button { Button {
id: createBtn id: createBtn
width: parent.width/3 width: 96
visible: Objects.types[modelData].createable() visible: Objects.types[modelData].createable()
height: visible ? width*0.8 : 0 height: visible ? width*0.8 : 0
// The KDE SDK is kinda buggy, so it respects neither specified color nor display propreties. // The KDE SDK is kinda buggy, so it respects neither specified color nor display propreties.