[Solved] DataTable - Is that possible to change the height of "toolbar"?
-
As you know we can add button at the header of datatable using below syntax.
<q-table> <template slot="top-left" slot-scope="props"> <q-btn> <q-btn>
These buttons are just like on the toolbar. Now I found it occupies too much of space. Is that possible to change the height of “toolbar”?
-
I’m not sure what you mean, but if you use a component, often you can change its style/ design with some css in your own component.
Scott
-
@s-molinari As I can’t upload picture here, I upload the picture to my profile. Could you please have a look, thanks!
-
Like I said, you can adjust the css as you like. And since it is a slot, you can basically do anything you want from a design perspective.
Scott
-
@s-molinari Thanks for your help!