DemoPanel cleanup
This commit is contained in:
parent
afd69ffbed
commit
c287ff3500
1 changed files with 10 additions and 8 deletions
|
|
@ -40,7 +40,7 @@ NPanel {
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
spacing: 16 * scaling
|
spacing: 16 * scaling
|
||||||
NText {
|
NText {
|
||||||
text: "NIconButton"
|
text: "NIconButton + NTooltip"
|
||||||
color: Colors.accentSecondary
|
color: Colors.accentSecondary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -55,6 +55,13 @@ NPanel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NTooltip {
|
||||||
|
id: myTooltip
|
||||||
|
target: myIconButton
|
||||||
|
positionAbove: false
|
||||||
|
text: "Hello world"
|
||||||
|
}
|
||||||
|
|
||||||
NDivider {Layout.fillWidth: true}
|
NDivider {Layout.fillWidth: true}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -64,7 +71,7 @@ NPanel {
|
||||||
spacing: Style.marginLarge * scaling
|
spacing: Style.marginLarge * scaling
|
||||||
uniformCellSizes: true
|
uniformCellSizes: true
|
||||||
NText {
|
NText {
|
||||||
text: "NToggle + NTooltip"
|
text: "NToggle"
|
||||||
color: Colors.accentSecondary
|
color: Colors.accentSecondary
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -76,12 +83,7 @@ NPanel {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
NTooltip {
|
|
||||||
id: myTooltip
|
|
||||||
target: myIconButton
|
|
||||||
positionAbove: false
|
|
||||||
text: "Hello world"
|
|
||||||
}
|
|
||||||
NDivider {
|
NDivider {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue