From a14dc51f9e8fc1fb4adac21722790a0a254ccd60 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Thu, 14 Nov 2013 13:32:11 +0100 Subject: startcenter: Thin line around the Help and Extensios buttons. Change-Id: Id9433a32a9787673fbb266d6465f0bd89f919a40 --- sfx2/source/dialog/backingwindow.cxx | 11 +- sfx2/source/dialog/backingwindow.hxx | 5 +- sfx2/uiconfig/ui/startcenter.ui | 428 ++++++++++++++++++++--------------- 3 files changed, 256 insertions(+), 188 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 1b50bf3accf1..8dc4663c6c03 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -90,9 +90,12 @@ BackingWindow::BackingWindow( Window* i_pParent ) : get(mpExtensionsButton, "extensions"); get(mpAllButtonsBox, "all_buttons_box"); - get(mpPictureBox, "picture_box"); get(mpButtonsBox, "buttons_box"); get(mpSmallButtonsBox, "small_buttons_box"); + get(mpThinBox1, "thin_box1"); + get(mpThinBox2, "thin_box2"); + get(mpHelpBox, "help_box"); + get(mpExtensionsBox, "extensions_box"); get(mpAllRecentThumbnails, "all_recent"); @@ -232,9 +235,13 @@ void BackingWindow::initControls() mpExtensionsButton->SetControlForeground(aButtonsText); mpAllButtonsBox->SetBackground(aButtonsBackground); - mpPictureBox->SetBackground(aButtonsBackground); mpButtonsBox->SetBackground(aButtonsBackground); mpSmallButtonsBox->SetBackground(aButtonsBackground); + mpHelpBox->SetBackground(aButtonsBackground); + mpExtensionsBox->SetBackground(aButtonsBackground); + + mpThinBox1->SetBackground(aButtonsText); + mpThinBox2->SetBackground(aButtonsText); Resize(); } diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx index 518aca323fda..725823f11f16 100644 --- a/sfx2/source/dialog/backingwindow.hxx +++ b/sfx2/source/dialog/backingwindow.hxx @@ -70,9 +70,12 @@ class BackingWindow PushButton* mpExtensionsButton; VclBox* mpAllButtonsBox; - VclBox* mpPictureBox; VclBox* mpButtonsBox; VclBox* mpSmallButtonsBox; + VclBox* mpThinBox1; + VclBox* mpThinBox2; + VclBox* mpHelpBox; + VclBox* mpExtensionsBox; RecentDocsView* mpAllRecentThumbnails; diff --git a/sfx2/uiconfig/ui/startcenter.ui b/sfx2/uiconfig/ui/startcenter.ui index 6907417be4cf..92ddaffc79c4 100644 --- a/sfx2/uiconfig/ui/startcenter.ui +++ b/sfx2/uiconfig/ui/startcenter.ui @@ -17,187 +17,24 @@ False vertical - + True False True True vertical - + + _Open True - False + True + True 6 6 6 - 6 - vertical - - - _Open - True - True - True - none - True - 0 - - - False - True - 0 - - - - - T_emplates - True - True - True - none - True - 0 - - - False - True - 1 - - - - - True - False - 6 - 12 - 0 - Create - - - False - True - 2 - - - - - True - False - - - False - True - 3 - - - - - New _Document - True - True - True - True - writer_all_image - none - True - 0 - - - False - True - 4 - - - - - New _Spreadsheet - True - True - True - True - calc_all_image - none - True - 0 - - - False - True - 5 - - - - - New _Presentation - True - True - True - True - impress_all_image - none - True - 0 - - - False - True - 6 - - - - - New D_rawing - True - True - True - True - draw_all_image - none - True - 0 - - - False - True - 7 - - - - - New For_mula - True - True - True - True - math_all_image - none - True - 0 - - - False - True - 8 - - - - - New D_atabase - True - True - True - True - database_all_image - none - True - 0 - - - False - True - 9 - - + none + True + 0 False @@ -205,6 +42,170 @@ 0 + + + T_emplates + True + True + True + 6 + 6 + none + True + 0 + + + False + True + 1 + + + + + True + False + 12 + 12 + 0 + Create + + + False + True + 2 + + + + + True + False + + + False + True + 3 + + + + + New _Document + True + True + True + True + 6 + 6 + writer_all_image + none + True + 0 + + + False + True + 4 + + + + + New _Spreadsheet + True + True + True + True + 6 + 6 + calc_all_image + none + True + 0 + + + False + True + 5 + + + + + New _Presentation + True + True + True + True + 6 + 6 + impress_all_image + none + True + 0 + + + False + True + 6 + + + + + New D_rawing + True + True + True + True + 6 + 6 + draw_all_image + none + True + 0 + + + False + True + 7 + + + + + New For_mula + True + True + True + True + 6 + 6 + math_all_image + none + True + 0 + + + False + True + 8 + + + + + New D_atabase + True + True + True + True + 6 + 6 + database_all_image + none + True + 0 + + + False + True + 9 + + False @@ -220,16 +221,45 @@ 6 6 6 + 6 True - - _Help + True - True - True - True - none - True + False + vertical + + + True + False + 1 + 1 + 1 + 1 + vertical + + + _Help + True + True + True + True + none + True + + + False + True + 0 + + + + + False + True + 0 + + False @@ -238,14 +268,42 @@ - - _Extensions + True - True - True - True - none - True + False + vertical + + + True + False + 1 + 1 + 1 + 1 + vertical + + + _Extensions + True + True + True + True + none + True + + + False + True + 0 + + + + + False + True + 0 + + False -- cgit