title: Styling QGroupBox in Qt Design
body: <p>If it is possible, how can I achieve the following result using the <strong>stylesheet</strong> property (CSS) in <strong>Qt</strong> Design?</p>
  
  <p><a href="https://i.stack.imgur.com/zj6Bm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zj6Bm.png" alt="enter image description here"></a></p>
  
  <p>I'm trying to use the following CSS:</p>
  
  <pre><code>QGroupBox  {
      border: 1px solid gray;
      border-color: #FF17365D;
      margin-top: 27px;
      font-size: 14px;
      border-radius: 15px;
  }
  
  QGroupBox::title  {
      subcontrol-origin: margin;
      subcontrol-position: top center;
      padding: 5px 8000px 5px 8000px;
      background-color: #FF17365D;
      color: rgb(255, 255, 255);
  }
  </code></pre>
  
  <p>But I'm getting this result:</p>
  
  <p><a href="https://i.stack.imgur.com/0nPtr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0nPtr.png" alt="enter image description here"></a></p>
  
  <p>I'm using Qt 5.3.</p>