mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -06:00
Fix dpi scaling
This commit is contained in:
parent
ecbfae2f27
commit
d326e91008
2 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue