mirror of
https://github.com/folfcoder/plasma-sharkle.git
synced 2025-04-05 05:31:36 +00:00
Fix margin when scaled
This commit is contained in:
parent
7ed46d101a
commit
f887a640ac
2 changed files with 2 additions and 3 deletions
|
@ -22,7 +22,6 @@ To change the color, right click on Sharkle > Configure Sharkle > Change color a
|
||||||
|
|
||||||
## To-do
|
## To-do
|
||||||
- [ ] Fix missing icon
|
- [ ] Fix missing icon
|
||||||
- [ ] Fix margin when the widget is resized
|
|
||||||
- [ ] Upload to KDE Store??
|
- [ ] Upload to KDE Store??
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
@ -84,9 +84,9 @@ Item {
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: parent.height
|
height: parent.height
|
||||||
anchors.right: idleImage.left
|
anchors.right: idleImage.left
|
||||||
anchors.rightMargin: -60
|
anchors.rightMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||||
anchors.bottom: idleImage.top
|
anchors.bottom: idleImage.top
|
||||||
anchors.bottomMargin: -60
|
anchors.bottomMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||||
|
|
||||||
source: "../images/" + sharkleColor + "/talk/" + (talkIndex) + ".png"
|
source: "../images/" + sharkleColor + "/talk/" + (talkIndex) + ".png"
|
||||||
visible: !isIdle
|
visible: !isIdle
|
||||||
|
|
Loading…
Add table
Reference in a new issue