mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 10:49:05 +08:00
Fix dpi scaling
This commit is contained in:
parent
ecbfae2f27
commit
d326e91008
@ -79,8 +79,8 @@ Item
|
||||
{
|
||||
background: Rectangle
|
||||
{
|
||||
implicitWidth: 96
|
||||
implicitHeight: 30
|
||||
implicitWidth: 96 * screenScaleFactor
|
||||
implicitHeight: 30 * screenScaleFactor
|
||||
color:
|
||||
{
|
||||
if (installed)
|
||||
|
@ -34,8 +34,8 @@ Item
|
||||
Image
|
||||
{
|
||||
anchors.centerIn: parent
|
||||
width: UM.Theme.getSize("toolbox_thumbnail_small").width - 26
|
||||
height: UM.Theme.getSize("toolbox_thumbnail_small").height - 26
|
||||
width: UM.Theme.getSize("toolbox_thumbnail_small").width - UM.Theme.getSize("default_margin").width
|
||||
height: UM.Theme.getSize("toolbox_thumbnail_small").height - UM.Theme.getSize("default_margin").width
|
||||
fillMode: Image.PreserveAspectFit
|
||||
source: model.icon_url || "../images/logobot.svg"
|
||||
mipmap: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user