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