https://bugs.documentfoundation.org/show_bug.cgi?id=161492

--- Comment #13 from Caolán McNamara <[email protected]> ---
I think the problem here (and in bug #161491) is in
VerticalTabControl::GetOptimalSize of vcl/source/control/ivctrl.cxx

That VerticalTabControl::GetOptimalSize is only getting the max width and
height of the contained pages. And has not included the size of the
page-selector on the left, the size of "m_xChooser".

The returned size should likely be something like:

    Size aChooserSize(m_xChooser->get_preferred_size());
    return Size(aChooserSize.Width() + aOptimalPageSize.Width(),
                std::max(aChooserSize.Height(), aOptimalPageSize.Height()));

intead of:

    return aOptimalPageSize;

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to