title: How to limit QHeaderView size (when resizing sections)?
body: <p><code>QHeaderView</code> sections can go out of view (to the right) when resizing. That is I can resize a section to be too big and other sections will disappear to the right.</p>
  
  <p>Is it possible to limit this? Such as set max width of header.</p>
  
  <p>I tried <code>setMaximumWidth</code> on table and header (actually in the real app I have just header without standard table) but it didn't help.</p>
  
  <p><a href="https://i.stack.imgur.com/IALuQ.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IALuQ.gif" alt="enter image description here"></a></p>
  
  <p>UPD:</p>
  
  <p>Actually I want other columns to shrink instead of going out of visible area, something like in MS Word:</p>
  
  <p><a href="https://i.stack.imgur.com/5uJZ5.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5uJZ5.gif" alt="enter image description here"></a></p>
  
  <p>So if there is no built-in option for behavior like this, then I guess I need to find a suitable signal to adjust sizes after resizing, such as decreasing/increasing size of the next or previous column...</p>