toolbar: use QToolButton for the toolbar buttons
commit796f8ce0b07b184de9848b912e9d0ee748840ba3
authorDavid Aguilar <davvid@gmail.com>
Sun, 22 Jan 2023 22:48:41 +0000 (22 14:48 -0800)
committerDavid Aguilar <davvid@gmail.com>
Sun, 22 Jan 2023 22:48:41 +0000 (22 14:48 -0800)
treead2b3e72d76b5ead9ca18c223c9965beda4239c5
parent56842f925561f14500e957b2dce780f949e35b09
toolbar: use QToolButton for the toolbar buttons

The toolbar text was getting elided and there's no way to disable that
behavior. Use a QToolButton as a custom widget in the toolbar to avoid
the text elision.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/qtutils.py
cola/widgets/toolbar.py