Scale the back button down

The hit area is still the same size, though.
android
Loren Burkholder 4 years ago
parent 474e3d6e2a
commit e116ebe1ac
  1. 1
      resources/qml/ImageButton.qml
  2. 1
      resources/qml/TopBar.qml

@ -15,6 +15,7 @@ AbstractButton {
property color highlightColor: Nheko.colors.highlight
property color buttonTextColor: Nheko.colors.buttonText
property bool changeColorOnHover: true
property alias imageScale: buttonImg.scale
focusPolicy: Qt.NoFocus
width: 16

@ -54,6 +54,7 @@ Rectangle {
width: Nheko.avatarSize
height: Nheko.avatarSize
visible: showBackButton
imageScale: 0.5 // because this image at full scale looks huge, tacky and distracting
image: ":/icons/icons/ui/angle-pointing-to-left.png"
ToolTip.visible: hovered
ToolTip.text: qsTr("Back to room list")

Loading…
Cancel
Save