HSpacer component for layouts

This commit is contained in:
miruka 2019-04-28 15:22:53 -04:00
parent d0089df051
commit f714c85d75
7 changed files with 14 additions and 7 deletions

View File

@ -3,6 +3,7 @@
- Don't bake in size properties for components
- Bug fixes
- The damn remember account dialog
- 100% CPU usage when hitting top edge to trigger messages loading
- Sending `![A picture](https://picsum.photos/256/256)` → not clickable?
- Icons aren't reloaded
@ -20,7 +21,6 @@
- Add room
- Leave room
- Forget room warning popup
- Spacer component
- Prevent using the SendBox if no permission (power levels)
- Spinner when loading past room events, images or clicking buttons
- Better theming/styling system

View File

@ -33,11 +33,11 @@ HScalingBox {
}
}
Item { Layout.fillHeight: true }
HSpacer {}
HColumnLayout { id: interfaceBody }
Item { Layout.fillHeight: true }
HSpacer {}
HRowLayout {
Repeater {

View File

@ -0,0 +1,7 @@
import QtQuick 2.7
import QtQuick.Layouts 1.4
Item {
Layout.fillWidth: true
Layout.fillHeight: true
}

View File

@ -41,7 +41,7 @@ HGlassRectangle {
Layout.rightMargin: Layout.leftMargin
}
Item { Layout.fillWidth: true }
HSpacer {}
HRowLayout {
id: bannerButtons

View File

@ -44,6 +44,6 @@ HGlassRectangle {
row.width - row.totalSpacing - avatar.width - roomName.width
}
Item { Layout.fillWidth: true }
HSpacer {}
}
}

View File

@ -39,6 +39,6 @@ Item {
Layout.maximumWidth: rememberBox.width - Layout.margins * 2
}
Item { Layout.fillHeight: true }
HSpacer {}
}
}

View File

@ -68,6 +68,6 @@ MouseArea {
}
}
Item { Layout.fillWidth: true }
HSpacer {}
}
}