QToolBar Change Height
<p>In my project I have a <code>QToolBar</code> with default size and size policy. I want to increase the height of the toolbar to 36px.</p>

<p>So far I have tried:</p>

<ul>
<li>Setting a stylesheet property to the toolbar: <code>height: 36px;</code></li>
<li>Setting the toolbar object's size policy to fixed: <code>toolBar-&gt;setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);</code></li>
<li>Setting the minimumHeight: <code>toolBar-&gt;setMinimumHeight(36);</code></li>
<li>Setting the layout size constraint <code>toolBar-&gt;layout()-&gt;setSizeConstraint(QLayout::SetMinimumSize)</code></li>
<li>All of those at once</li>
</ul>

<p>And nothing increases the height of the toolbar. The only thing that works is increasing the size of the <code>QToolButton</code> objects within the bar, but this is not what I want to do. I only want the toolbar itself taller.</p>

<p>Any suggestions? Thanks for your time.</p>

<p>EDIT: My current solution was to add a margin to the QToolButton objects in the toolbar. I still don't like this because I have varying object types in the toolbar.... frustrating.</p>