Skip to content

Cannot resize icon #60

@talentlessguy

Description

@talentlessguy

Describe the bug
Icon size is not being changed using pixmap

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/talentlessguy/QuarkPlayer
  2. Run yarn && yarn dev in one window, yarn start in another window
  3. See icon size is not being changed

Expected behavior
I expected for icon to increase its size by changing width and height

Screenshots

image

Desktop (please complete the following information):

  • OS: Manjaro Linux x86_64
  • NodeGUI version: 0.5.1
  • React NodeGUI version: 0.2.2
  • OS Version: Plasma 5.17.2

Additional context

Code snippet where I try to resize icon:

import { QIcon } from '@nodegui/nodegui'
import icon from '../../assets/play.png'

const Icon = new QIcon(`${__dirname}/${icon}`)

Icon.pixmap(100, 100)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions