# How to change icon size in QMenu action?

**URL:** <https://discourse.slicer.org/t/how-to-change-icon-size-in-qmenu-action/33995>\
**Category:** Support\
**Created:** [January 26, 2024, 6:02pm UTC](https://discourse.slicer.org/t/how-to-change-icon-size-in-qmenu-action/33995 "2024-01-26T18:02:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiki](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@kiki](https://discourse.slicer.org/u/kiki)\
**Post date:** [January 26, 2024, 6:02pm UTC](https://discourse.slicer.org/t/how-to-change-icon-size-in-qmenu-action/33995/1 "2024-01-26T18:02:47Z")

</div>

Hello,

I’ve created a QMenu with three actions and set icons to the actions using the setIcon method. The problem is that I am not able to adjust the size of the icons in the QMenu. Is there a way to change it?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 26, 2024, 6:08pm UTC](https://discourse.slicer.org/t/how-to-change-icon-size-in-qmenu-action/33995/2 "2024-01-26T18:08:11Z")

</div>

This is a pure Qt question (not related to Slicer) and the answer may not be trivial, so it would be better if you could search for answer on Qt forum or StackOverflow, or ask Copilot or ChatGPT.
