fix code formatting
This commit is contained in:
parent
40878e1059
commit
eee1fe6eda
1 changed files with 58 additions and 54 deletions
|
@ -23,7 +23,7 @@ import org.labsquare 1.0
|
||||||
Page {
|
Page {
|
||||||
|
|
||||||
property variant user
|
property variant user
|
||||||
property variant theme : Application.themeSupport.theme.colorTheme.style
|
property variant theme: Application.themeSupport.theme.colorTheme.style
|
||||||
property string lorem: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non enim tellus. Donec vestibulum enim urna, eget faucibus diam commodo a. Donec eget hendrerit metus. Pellentesque vehicula nisi nec vehicula ullamcorper. Aliquam a elit eget mi fringilla porta fermentum eget eros. Phasellus vestibulum nulla sed elit congue adipiscing. Cras imperdiet urna ac ipsum volutpat lobortis. Maecenas vehicula tortor at viverra convallis. Curabitur nibh massa, tristique id felis ut, venenatis faucibus dui. Donec fringilla, mi nec tincidunt dignissim, neque nunc semper mi, quis rutrum diam turpis sit amet erat. Cras a sodales nisi. Nunc sit amet diam sed lectus molestie cursus convallis et erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Duis vitae varius leo. Mauris eu leo a nunc bibendum rutrum euismod et ipsum. "
|
property string lorem: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse non enim tellus. Donec vestibulum enim urna, eget faucibus diam commodo a. Donec eget hendrerit metus. Pellentesque vehicula nisi nec vehicula ullamcorper. Aliquam a elit eget mi fringilla porta fermentum eget eros. Phasellus vestibulum nulla sed elit congue adipiscing. Cras imperdiet urna ac ipsum volutpat lobortis. Maecenas vehicula tortor at viverra convallis. Curabitur nibh massa, tristique id felis ut, venenatis faucibus dui. Donec fringilla, mi nec tincidunt dignissim, neque nunc semper mi, quis rutrum diam turpis sit amet erat. Cras a sodales nisi. Nunc sit amet diam sed lectus molestie cursus convallis et erat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Duis vitae varius leo. Mauris eu leo a nunc bibendum rutrum euismod et ipsum. "
|
||||||
|
|
||||||
signal follow(string uid)
|
signal follow(string uid)
|
||||||
|
@ -36,7 +36,8 @@ Page {
|
||||||
ScrollView {
|
ScrollView {
|
||||||
Container {
|
Container {
|
||||||
Container {
|
Container {
|
||||||
layout: DockLayout {}
|
layout: DockLayout {
|
||||||
|
}
|
||||||
horizontalAlignment: HorizontalAlignment.Fill
|
horizontalAlignment: HorizontalAlignment.Fill
|
||||||
preferredHeight: cover.height
|
preferredHeight: cover.height
|
||||||
Container {
|
Container {
|
||||||
|
@ -100,7 +101,8 @@ Page {
|
||||||
topPadding: ui.sdu(3)
|
topPadding: ui.sdu(3)
|
||||||
leftPadding: ui.sdu(3)
|
leftPadding: ui.sdu(3)
|
||||||
rightPadding: ui.sdu(3)
|
rightPadding: ui.sdu(3)
|
||||||
layout: DockLayout {}
|
layout: DockLayout {
|
||||||
|
}
|
||||||
horizontalAlignment: HorizontalAlignment.Fill
|
horizontalAlignment: HorizontalAlignment.Fill
|
||||||
Container {
|
Container {
|
||||||
preferredWidth: ui.du(45)
|
preferredWidth: ui.du(45)
|
||||||
|
@ -170,7 +172,8 @@ Page {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Divider {}
|
Divider {
|
||||||
|
}
|
||||||
ListView {
|
ListView {
|
||||||
id: threadView
|
id: threadView
|
||||||
dataModel: ArrayDataModel {
|
dataModel: ArrayDataModel {
|
||||||
|
@ -179,7 +182,8 @@ Page {
|
||||||
listItemComponents: [
|
listItemComponents: [
|
||||||
ListItemComponent {
|
ListItemComponent {
|
||||||
id: root
|
id: root
|
||||||
PostItem {}
|
PostItem {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
function sendReply(text, pid) {
|
function sendReply(text, pid) {
|
||||||
|
|
Reference in a new issue