diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-02-16 22:22:55 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-02-16 22:22:55 +0530 |
commit | f76f7b7f8adaf6fd1727b30c0e1af5e5adacfe7b (patch) | |
tree | d43f5051ea94b798ca4732f0add1432fddc25ade /resources/qml/ToggleButton.qml | |
parent | change togglebutton size, set textarea color to colors.text (diff) | |
download | nheko-f76f7b7f8adaf6fd1727b30c0e1af5e5adacfe7b.tar.xz |
fixed roomsettings spacing and toggle button right align bug
Diffstat (limited to 'resources/qml/ToggleButton.qml')
-rw-r--r-- | resources/qml/ToggleButton.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/qml/ToggleButton.qml b/resources/qml/ToggleButton.qml index 59ec1a12..dfef6207 100644 --- a/resources/qml/ToggleButton.qml +++ b/resources/qml/ToggleButton.qml @@ -5,8 +5,10 @@ import im.nheko 1.0 Switch { id: toggleButton + implicitWidth: indicatorItem.width indicator: Item { + id: indicatorItem implicitWidth: 48 implicitHeight: 24 y: parent.height / 2 - height / 2 |