HSpacer component for layouts
This commit is contained in:
parent
d0089df051
commit
f714c85d75
2
TODO.md
2
TODO.md
@ -3,6 +3,7 @@
|
|||||||
- Don't bake in size properties for components
|
- Don't bake in size properties for components
|
||||||
|
|
||||||
- Bug fixes
|
- Bug fixes
|
||||||
|
- The damn remember account dialog
|
||||||
- 100% CPU usage when hitting top edge to trigger messages loading
|
- 100% CPU usage when hitting top edge to trigger messages loading
|
||||||
- Sending `` → not clickable?
|
- Sending `` → not clickable?
|
||||||
- Icons aren't reloaded
|
- Icons aren't reloaded
|
||||||
@ -20,7 +21,6 @@
|
|||||||
- Add room
|
- Add room
|
||||||
- Leave room
|
- Leave room
|
||||||
- Forget room warning popup
|
- Forget room warning popup
|
||||||
- Spacer component
|
|
||||||
- Prevent using the SendBox if no permission (power levels)
|
- Prevent using the SendBox if no permission (power levels)
|
||||||
- Spinner when loading past room events, images or clicking buttons
|
- Spinner when loading past room events, images or clicking buttons
|
||||||
- Better theming/styling system
|
- Better theming/styling system
|
||||||
|
@ -33,11 +33,11 @@ HScalingBox {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillHeight: true }
|
HSpacer {}
|
||||||
|
|
||||||
HColumnLayout { id: interfaceBody }
|
HColumnLayout { id: interfaceBody }
|
||||||
|
|
||||||
Item { Layout.fillHeight: true }
|
HSpacer {}
|
||||||
|
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
Repeater {
|
Repeater {
|
||||||
|
7
harmonyqml/components/Base/HSpacer.qml
Normal file
7
harmonyqml/components/Base/HSpacer.qml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import QtQuick 2.7
|
||||||
|
import QtQuick.Layouts 1.4
|
||||||
|
|
||||||
|
Item {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
|
}
|
@ -41,7 +41,7 @@ HGlassRectangle {
|
|||||||
Layout.rightMargin: Layout.leftMargin
|
Layout.rightMargin: Layout.leftMargin
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
HSpacer {}
|
||||||
|
|
||||||
HRowLayout {
|
HRowLayout {
|
||||||
id: bannerButtons
|
id: bannerButtons
|
||||||
|
@ -44,6 +44,6 @@ HGlassRectangle {
|
|||||||
row.width - row.totalSpacing - avatar.width - roomName.width
|
row.width - row.totalSpacing - avatar.width - roomName.width
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
HSpacer {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,6 @@ Item {
|
|||||||
Layout.maximumWidth: rememberBox.width - Layout.margins * 2
|
Layout.maximumWidth: rememberBox.width - Layout.margins * 2
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillHeight: true }
|
HSpacer {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,6 @@ MouseArea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item { Layout.fillWidth: true }
|
HSpacer {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user