cui/source/options/treeopt.cxx | 1 + 1 file changed, 1 insertion(+) New commits: commit e340f367cca07422fb415696fb729b43db221530 Author: Caolán McNamara <caol...@redhat.com> Date: Sun Jan 11 19:52:40 2015 -0600
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 <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> (cherry picked from commit d2ad3d8af0f8217ba7d472630a297812d8a62b67) Reviewed-on: https://gerrit.libreoffice.org/13949 Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 46673d2..069eb79 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()); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits