Pretty "Create Poll" button.

This commit is contained in:
armored-dragon 2024-09-04 15:48:11 -05:00
parent dd53c9f596
commit 6de3001100
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -18,33 +18,37 @@ Rectangle {
ColumnLayout {
width: parent.width
height: parent.height - 40
// anchors.top: navigation_bar.bottom
visible: current_page == "poll_list"
Item {
height: 40
width: parent.width - 40
height: 50
width: parent.width
Rectangle {
color: "green"
width: parent.width
height: 30
}
width: parent.width - 40
height: 40
y: 10
anchors.horizontalCenter: parent.horizontalCenter
Text {
text: "Create Poll"
font.pointSize: 20
}
Text {
anchors.centerIn: parent
text: "Create Poll"
font.pointSize: 18
color: "white"
}
MouseArea {
anchors.fill: parent
MouseArea {
anchors.fill: parent
onClicked: {
current_page = "poll_create";
onClicked: {
current_page = "poll_create";
}
}
}
}
ListView {
property int index_selected: -1
width: parent.width