Skip to content

How to resize toolbar buttons simultaneously/globally? #2520

Closed Answered by EchoEllet
hardiklakhalani asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried the buttonOptions property which is in QuillSimpleToolbarConfig and of type QuillSimpleToolbarButtonOptions? It accepts base which allows you to change common properties for all buttons.

// Example
QuillSimpleToolbar(
  controller = _controller,
  config = QuillSimpleToolbarConfig(
    buttonOptions: QuillSimpleToolbarButtonOptions(
      base: QuillToolbarBaseButtonOptions(
        iconSize: 20,   
      ),
    ),
  ),
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hardiklakhalani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants