diff options
| author | Caolán McNamara <caolanm@redhat.com> | 2015-01-11 19:52:40 -0600 | 
|---|---|---|
| committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-16 09:09:03 +0000 | 
| commit | d2ad3d8af0f8217ba7d472630a297812d8a62b67 (patch) | |
| tree | 9d0f780da758b90d64dc2d3aa28cbe7d3fb335a4 | |
| parent | 718035a0ac5ef6351695944f65841b1166376c5e (diff) | |
fdo#87551 Category tree is too thin since conversion to .ui
Measure in approx chars and not pixels.
Change-Id: Ibf34083d99e0aceee2855ed10939ad3b60b8abae
Reviewed-on: https://gerrit.libreoffice.org/13948
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
| -rw-r--r-- | cui/source/options/treeopt.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 46673d20e1b7..069eb79c32be 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -512,6 +512,7 @@ void OfaTreeOptionsDialog::InitWidgets()      Size aSize(pTabBox->LogicToPixel(Size(278, 259), MAP_APPFONT));      pTabBox->set_width_request(aSize.Width());      pTabBox->set_height_request(aSize.Height() - get_action_area()->get_preferred_size().Height()); +    pTreeLB->set_width_request(pTreeLB->approximate_char_width() * 25);      pTreeLB->set_height_request(pTabBox->get_height_request());  } | 
