diff --git a/src/qml/TtoolBar.qml b/src/qml/TtoolBar.qml index 96416af3fd6c5f9879f1bb2e422eae8afb9b9ad8..7c63d84fb07c703e04a872e99b0d48afcdff7756 100644 --- a/src/qml/TtoolBar.qml +++ b/src/qml/TtoolBar.qml @@ -15,6 +15,7 @@ ToolBar { height: settAct.height z: 6 + padding: 0 Row { spacing: toolBar.width / 200 @@ -73,7 +74,7 @@ ToolBar { property var pitchView target: SOUND - onInitialized: { + function onInitialized() : void { if (!pitchView) { var c = Qt.createComponent("qrc:/PitchView.qml"); pitchView = c.createObject(toolBar); diff --git a/src/qml/shared/HeadButton.qml b/src/qml/shared/HeadButton.qml index d67b87ab1fc9c3b168b8d877ed751be6a4ae6701..d2b3f95480b95ca1e89c7527f617b8a46944f83a 100644 --- a/src/qml/shared/HeadButton.qml +++ b/src/qml/shared/HeadButton.qml @@ -17,6 +17,7 @@ ToolButton { property Taction taction property bool hiHover: true + padding: 0 hoverEnabled: true width: Math.max(pix.width, butText.width) + (NOO.isAndroid() ? 4 : factor * 2) height: butText.height + pix.height + NOO.factor() / 4 @@ -40,8 +41,11 @@ ToolButton { text: taction ? taction.text : "" font.pixelSize: Math.min(factor * 2.5, NOO.factor()) - anchors.horizontalCenter: parent.horizontalCenter - anchors.bottom: parent.bottom + anchors { + horizontalCenter: parent.horizontalCenter + bottom: parent.bottom + bottomMargin: 1 + } horizontalAlignment: Text.AlignHCenter color: activPal.text }