Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
20d21db2
Commit
20d21db2
authored
Mar 01, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.propertyEditor: add buttons for alignment
parent
e196ad07
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml
View file @
20d21db2
...
...
@@ -35,31 +35,15 @@ GroupBox {
}
}
}
QWidget
{
layout
:
HorizontalLayout
{
Label
{
text
:
"
Alignment
"
}
ComboBox
{
baseStateFlag
:
isBaseState
;
items
:
{
[
"
AlignLeft
"
,
"
AlignRight
"
,
"
AlignHCenter
"
]
}
backendValue
:
backendValues
.
horizontalAlignment
;
currentText
:
backendValues
.
horizontalAlignment
.
value
;
onItemsChanged
:
{
currentText
=
backendValues
.
horizontalAlignment
.
value
;
}
}
ComboBox
{
baseStateFlag
:
isBaseState
;
items
:
{
[
"
AlignTop
"
,
"
AlignBottom
"
,
"
AlignVCenter
"
]
}
backendValue
:
backendValues
.
verticalAlignment
;
currentText
:
backendValues
.
verticalAlignment
.
value
;
onItemsChanged
:
{
currentText
=
backendValues
.
verticalAlignment
.
value
;
}
}
AlignmentHorizontalButtons
{}
AlignmentVerticalButtons
{}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment