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
9236dd81
Commit
9236dd81
authored
Apr 07, 2010
by
Christiaan Janssen
Browse files
QmlDesigner.StatesEditor: Shorter button names
parent
5910b7de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateslist.qml
View file @
9236dd81
...
...
@@ -315,7 +315,7 @@ Rectangle {
id
:
addStateButton
color
:
"
#4f4f4f
"
width
:
addStateText
.
width
height
:
addStateText
.
height
+
1
height
:
addStateText
.
height
+
3
anchors.left
:
listView
.
left
anchors.bottom
:
root
.
bottom
...
...
@@ -359,9 +359,10 @@ Rectangle {
Text
{
id
:
addStateText
text
:
"
Duplicate Stat
e
"
text
:
"
Clon
e
"
color
:
"
#cfcfcf
"
font.pixelSize
:
12
font.pixelSize
:
10
y
:
1
}
MouseArea
{
anchors.fill
:
parent
...
...
@@ -386,7 +387,7 @@ Rectangle {
border.color
:
"
black
"
border.width
:
1
width
:
renameStateText
.
width
height
:
renameStateText
.
height
+
1
height
:
renameStateText
.
height
+
3
anchors.left
:
addStateButton
.
right
anchors.bottom
:
root
.
bottom
...
...
@@ -431,9 +432,10 @@ Rectangle {
Text
{
id
:
renameStateText
text
:
"
Rename
State
"
text
:
"
Rename
"
color
:
"
#cfcfcf
"
font.pixelSize
:
12
font.pixelSize
:
10
y
:
1
}
MouseArea
{
anchors.fill
:
parent
...
...
@@ -451,7 +453,7 @@ Rectangle {
border.color
:
"
black
"
border.width
:
1
width
:
removeStateText
.
width
height
:
removeStateText
.
height
+
1
height
:
removeStateText
.
height
+
3
anchors.left
:
renameStateButton
.
right
anchors.bottom
:
root
.
bottom
...
...
@@ -496,9 +498,10 @@ Rectangle {
Text
{
id
:
removeStateText
text
:
"
Erase
State
"
text
:
"
Erase
"
color
:
"
#cfcfcf
"
font.pixelSize
:
12
font.pixelSize
:
10
y
:
1
}
MouseArea
{
anchors.fill
:
parent
...
...
@@ -514,7 +517,6 @@ Rectangle {
Item
{
id
:
horizontalScrollbar
// Current listView implementation sometimes has negative width or contentWidth
property
int
viewPosition
:
0
;
property
int
viewLength
:
(
listView
.
width
>=
0
?
listView
.
width
:
0
);
property
int
totalLength
:
(
listView
.
contentWidth
>=
0
?
listView
.
contentWidth
:
0
);
...
...
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