Mercurial > octave
changeset 27460:02500c701539
Reduce Qt figure toolbar size
* Toolbar.cc(Toolbar::Toolbar): Make the toolbar stylesheet concistent with
other components of the GUI.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Mon, 30 Sep 2019 12:54:35 +0200 |
parents | 36b610122086 |
children | 15752c577f6d |
files | libgui/graphics/ToolBar.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/graphics/ToolBar.cc Sun Sep 29 20:22:12 2019 -0700 +++ b/libgui/graphics/ToolBar.cc Mon Sep 30 12:54:35 2019 +0200 @@ -87,6 +87,10 @@ bar->setFloatable (false); bar->setMovable (false); bar->setVisible (tp.is_visible ()); + bar->setStyleSheet (bar->styleSheet () + + QString ("margin-top: 1px; margin-bottom: 1px;" + "margin-left: 3px; margin-right: 3px;" + "border: 0px;")); m_empty = addEmptyAction (bar);