mirror of
https://github.com/folfcoder/plasma-sharkle.git
synced 2025-04-04 21:21:38 +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
|
||||
- [ ] Fix missing icon
|
||||
- [ ] Fix margin when the widget is resized
|
||||
- [ ] Upload to KDE Store??
|
||||
|
||||
## License
|
||||
|
|
|
@ -84,9 +84,9 @@ Item {
|
|||
width: parent.width
|
||||
height: parent.height
|
||||
anchors.right: idleImage.left
|
||||
anchors.rightMargin: -60
|
||||
anchors.rightMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||
anchors.bottom: idleImage.top
|
||||
anchors.bottomMargin: -60
|
||||
anchors.bottomMargin: -60*(Math.min(parent.width, parent.height)/200)
|
||||
|
||||
source: "../images/" + sharkleColor + "/talk/" + (talkIndex) + ".png"
|
||||
visible: !isIdle
|
||||
|
|
Loading…
Add table
Reference in a new issue