Commit b8555ed2 authored by Leander Schulten's avatar Leander Schulten
Browse files

UI: ControlView: Do not display the text of the other 'add' buttons when all...

UI: ControlView: Do not display the text of the other 'add' buttons when all buttons are overlapped, otherwise you will see the text of the other buttons in the dark mode (there the background is transparent). #55
parent e17b9425
......@@ -123,7 +123,7 @@ ControlPanel{
visible: UserManagment.currentUser.havePermission(Permission.ADD_CONTROL_ITEM);
z:1.3
id: switchGroup
text:"Switchgroup"
text: y === programm.y ? "" : "Switchgroup"
anchors.right: programm.right
anchors.left: programm.left
Behavior on y{
......@@ -135,7 +135,7 @@ ControlPanel{
visible: UserManagment.currentUser.havePermission(Permission.ADD_CONTROL_ITEM);
z:1.3
id: dimmerGroup
text:"Dimmergroup"
text: y === programm.y ? "" : "Dimmergroup"
anchors.right: programm.right
anchors.left: programm.left
Behavior on y{
......@@ -147,7 +147,7 @@ ControlPanel{
visible: UserManagment.currentUser.havePermission(Permission.ADD_CONTROL_ITEM);
z:1.3
id: programBlock
text:"ProgramBlock"
text: y === programm.y ? "" : "ProgramBlock"
anchors.right: programm.right
anchors.left: programm.left
Behavior on y{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment