support large toolbar size

Change-Id: If24baee9a682006ff92e543eeb28490573b6cdec
Reviewed-on: https://gerrit.libreoffice.org/68805
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2019-03-06 12:40:04 +00:00
parent 930e252db3
commit de5dc664fc

View File

@@ -664,6 +664,11 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr
case 1:
pTarget->SetSmallSymbol();
break;
case 3:
// large toolbar, make bigger than normal (4)
pTarget->set_width_request(pTarget->GetOptimalSize().Width() * 1.5);
pTarget->set_height_request(pTarget->GetOptimalSize().Height() * 1.5);
break;
case 4:
break;
default: