How to remove dropdown icon from QBtnDropdown?
-
This post is deleted! -
-
@s-molinari we can acheive the same by specifying dropdown-icon=" " as a prop but the actual problem is how to get rid of the space occupied by it, the space is still there .Actually i am trying to center the label on the button
-
Ok. Then don’t use QBtn-Dropdown and roll your own dropdown with QMenu.
https://quasar.dev/vue-components/menu
Scott
-
@Abdullah-Sohail Solution provided by @s-molinari is the best and cleaner way to do, imo.
But, if you really really want to use aq-btn-dropdown
, you can hide the dropdown icon by css :button.without-icon i { display: none }
and add
without-icon
class to yourq-btn-dropdown
-
thanks @s-molinari and @tof06