Kaydet (Commit) ebcb1fa8 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#114695 limit width of this combo

Change-Id: I3bcb880d05b9b2b6a7faf7b3646b169f3b11a46b
Reviewed-on: https://gerrit.libreoffice.org/65507
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst ec61f9c9
...@@ -67,6 +67,10 @@ ScHFEditPage::ScHFEditPage( vcl::Window* pParent, ...@@ -67,6 +67,10 @@ ScHFEditPage::ScHFEditPage( vcl::Window* pParent,
m_pWndRight->SetLocation(Right); m_pWndRight->SetLocation(Right);
get(m_pLbDefined,"comboLB_DEFINED"); get(m_pLbDefined,"comboLB_DEFINED");
// tdf#114695 override natural size with a small value
// we expect this to get stretched to some larger but
// limited size based on surrounding widgets
m_pLbDefined->set_width_request(m_pLbDefined->approximate_digit_width() * 20);
get(m_pBtnText,"buttonBTN_TEXT"); get(m_pBtnText,"buttonBTN_TEXT");
get(m_pBtnTable,"buttonBTN_TABLE"); get(m_pBtnTable,"buttonBTN_TABLE");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment