mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-22 21:59:37 +08:00

These are typically visually smaller buttons, since they don't have an outline. It makes more sense to use the size of the text then, or something thereabouts. Contributes to issue CURA-8565.
21 lines
552 B
QML
21 lines
552 B
QML
// Copyright (c) 2021 Ultimaker B.V.
|
|
// Cura is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
|
|
import UM 1.4 as UM
|
|
import Cura 1.1 as Cura
|
|
|
|
|
|
Cura.ActionButton
|
|
{
|
|
color: "transparent"
|
|
textColor: UM.Theme.getColor("text_link")
|
|
outlineColor: "transparent"
|
|
disabledColor: UM.Theme.getColor("action_button_disabled")
|
|
textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
|
|
hoverColor: "transparent"
|
|
underlineTextOnHover: true
|
|
iconSize: UM.Theme.getSize("action_button_icon_small").height
|
|
}
|