From aad3e6d02eb65bccc720fdd1f10f60471e138906 Mon Sep 17 00:00:00 2001 From: Muhammet Kara Date: Tue, 29 Aug 2017 09:13:59 +0300 Subject: Polish the Customize dialog with some padding, filling etc. on the .ui file, and some size modifications on the .cxx file Change-Id: I8fdfc298c06162fd847b338a523542bb1ce7ada9 Reviewed-on: https://gerrit.libreoffice.org/41923 Tested-by: Jenkins Reviewed-by: Katarina Behrens --- cui/source/customize/cfg.cxx | 6 ++++++ cui/uiconfig/ui/menuassignpage.ui | 28 ++++++++++++++++++++++------ 2 files changed, 28 insertions(+), 6 deletions(-) (limited to 'cui') diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index d4e7d6ea5eea..f7c6d6ce0774 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1174,6 +1174,12 @@ SvxConfigPage::SvxConfigPage(vcl::Window *pParent, const SfxItemSet& rSet) m_pFunctions->set_height_request(aSize.Height()); m_pFunctions->set_width_request(aSize.Width()); + // Make the middle buttons bigger + m_pAddCommandButton->set_height_request( m_pAddCommandButton->GetOptimalSize().Height() * 1.5 ); + m_pAddCommandButton->set_width_request( m_pAddCommandButton->GetOptimalSize().Width() * 1.5 ); + m_pRemoveCommandButton->set_height_request( m_pRemoveCommandButton->GetOptimalSize().Height() * 1.5 ); + m_pRemoveCommandButton->set_width_request( m_pRemoveCommandButton->GetOptimalSize().Width() * 1.5 ); + m_pDescriptionField->SetControlBackground( GetSettings().GetStyleSettings().GetDialogColor() ); m_pDescriptionField->EnableCursor( false ); diff --git a/cui/uiconfig/ui/menuassignpage.ui b/cui/uiconfig/ui/menuassignpage.ui index 928e78d6ce7a..4567c25d1fe1 100644 --- a/cui/uiconfig/ui/menuassignpage.ui +++ b/cui/uiconfig/ui/menuassignpage.ui @@ -215,7 +215,6 @@ True False - start 5 True @@ -227,11 +226,10 @@ Function - True True True - start True + right 1 @@ -253,7 +251,6 @@ True False - 36 True @@ -267,6 +264,8 @@ True True True + 5 + 5 True True @@ -364,13 +363,19 @@ True False + 5 True True True + center + start + 5 True + True image3 + True 0 @@ -398,13 +403,19 @@ True False + 5 True True True + center + end + 5 True + True image4 + True 0 @@ -545,7 +556,7 @@ False - label + Label @@ -556,6 +567,12 @@ + + + + + + True False @@ -612,6 +629,5 @@ - -- cgit