mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-04 09:18:27 +02:00
[ui] StatViewer: fix "Toggle CPU" button
use MaterialLabel instead of Text
This commit is contained in:
parent
001d9a3de8
commit
aedf10c838
1 changed files with 2 additions and 4 deletions
|
@ -320,16 +320,14 @@ Item {
|
|||
Button {
|
||||
id: toggleCpuBtn
|
||||
Layout.fillWidth: true
|
||||
height: 30
|
||||
text: "Toggle CPU's"
|
||||
state: "closed"
|
||||
|
||||
onClicked: state === "opened" ? state = "closed" : state = "opened"
|
||||
|
||||
Text {
|
||||
MaterialLabel {
|
||||
text: MaterialIcons.arrow_drop_down
|
||||
font.pixelSize: 24
|
||||
color: "#eee"
|
||||
font.pointSize: 14
|
||||
anchors.right: parent.right
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue