addressing comments on #36

This commit is contained in:
erinn 2020-12-16 17:34:15 -08:00
parent 6b285e4bbc
commit a998ebc935
4 changed files with 3 additions and 11 deletions

View File

@ -6,9 +6,9 @@ import "theme"
Opaque.Column {
id: root
//: Show
//: Show
readonly property string strShow: qsTr("collapser-show")
//: Hide
//: Hide
readonly property string strHide: qsTr("collapser-hide")
property string textShow: strShow

View File

@ -193,7 +193,6 @@ Item {
height: root.size * 0.8
color: Theme.dividerColor
visible: !root.narrowMode && !root.searchMode
//anchors.verticalCenter: parent.verticalCenter
}
Item {

View File

@ -29,7 +29,6 @@ Item {
Rectangle {
id: mainImage
//anchors.leftMargin: baseWidth * 0.1
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
width: parent.width * 0.8

View File

@ -3,12 +3,8 @@ import QtQuick.Controls.Styles 1.4
import QtQuick 2.12
import "theme"
// ToggleSwtch implements a stylized toggle switch. It requires the user create a function called onToggled to
// perform any additional operations needed to define the behavior of the toggle switch
// ToggleSwtch implements a stylized toggle switch.
Switch {
//property bool isToggled
//property var onToggled: function () { console.log("In Superclass") };
//checked: isToggled
style: SwitchStyle {
handle: Rectangle {
implicitWidth: 25
@ -25,8 +21,6 @@ Switch {
color: checked ? Theme.toggleOnColor :Theme.toggleOffColor
}
}
//onClicked: function() {onToggled()}
}