Created
November 29, 2012 23:55
-
-
Save dridk/4172745 to your computer and use it in GitHub Desktop.
beta4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Default empty project template | |
import bb.cascades 1.0 | |
// creates one page with a label | |
Page { | |
titleBar: TitleBar { | |
options: [ | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} , | |
Option { | |
text: "title" | |
} | |
] | |
} | |
Container { | |
layout: DockLayout {} | |
Label { | |
text: qsTr("Hello World") | |
textStyle.base: SystemDefaults.TextStyles.BigText | |
verticalAlignment: VerticalAlignment.Center | |
horizontalAlignment: HorizontalAlignment.Center | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment