Cannot resize icon
See original GitHub issueDescribe the bug
Icon size is not being changed using pixmap
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/talentlessguy/QuarkPlayer
- Run
yarn && yarn dev
in one window,yarn start
in another window - See icon size is not being changed
Expected behavior I expected for icon to increase its size by changing width and height
Screenshots
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)
Issue Analytics
- State:
- Created 4 years ago
- Comments:10
Top Results From Across the Web
How to resize icons and their spacing in Windows 7
Adjust icon size using the drop-down menu on the desktop ... Right-click on any empty space on the desktop and select the View...
Read more >Cannot Resize Icons in Grid View Anymore : r/OpenEmu
There used to be an option where in Grid View you could change the size of the icons. it resided in the bottom...
Read more >Cannot resize ICON component · Issue #3574 - GitHub
Unable to change the size of an Icon. This uses the react-native-vector-icons library which has a size prop. This doesn't.
Read more >Can't resize some icons - Ask Ubuntu
1 Answer 1 ... Try: Right click on the icon and selection "Original Size", then attempt to resize again. Otherwise, move aside the...
Read more >Can't CUSTOM resize icons in Icon Widget - WordPress.org
[This thread is closed.] Hello, I am trying to use the Icon Widget but I cannot seem to get the icons to adjust...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Something like this :
iconSize prop is now available in 0.2.7 of react-nodegui for button, checkbox and radiobuttons