You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
We are setting up our toolbar by adding Actions to a BrowserToolbar, but have a requirement to change the size of the toolbar buttons. Is there any way to do this using the existing API? It seems that the ImageButtons are using each image's intrinsic size, so modifying a vector asset's size is an effective workaround, but we would rather not maintain multiple sets of icons at different sizes.
It appears the buttons touch target's size themselves according to the toolbar content size (i.e. the height minus the padding) and the icons take their intrinsic size. Since our icons are the size we want and the touch target size we want is the size of the toolbar content, we've actually solved this problem.
We are setting up our toolbar by adding
Actions
to aBrowserToolbar
, but have a requirement to change the size of the toolbar buttons. Is there any way to do this using the existing API? It seems that theImageButton
s are using each image's intrinsic size, so modifying a vector asset's size is an effective workaround, but we would rather not maintain multiple sets of icons at different sizes.How would you suggest we approach this?
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: