diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-26 06:26:03 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-26 06:31:24 +0100 |
commit | 8039cd4d7db58921f7d35eeea93cd7f85a5e0815 (patch) | |
tree | 1cf13c2cde1369f4de5e87c5ad8a2b4f3de4a8b6 /sc | |
parent | 0fe2786e3c5b59c5adcc9165574e1325dd896852 (diff) |
ManageNames: improve layout of Define Names dialog
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/namedlg/namedefdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/src/namedefdlg.src | 56 |
2 files changed, 29 insertions, 29 deletions
diff --git a/sc/source/ui/namedlg/namedefdlg.cxx b/sc/source/ui/namedlg/namedefdlg.cxx index f7afe22a9d45..c4ffc2e0c795 100644 --- a/sc/source/ui/namedlg/namedefdlg.cxx +++ b/sc/source/ui/namedlg/namedefdlg.cxx @@ -322,7 +322,7 @@ void ScNameDefDlg::MorePushed() Size nSize = GetSizePixel(); //depending on the state of the button, move all elements below up/down - long nPixel = 85; + long nPixel = 75; if (!maBtnMore.GetState()) { nPixel *= -1; diff --git a/sc/source/ui/src/namedefdlg.src b/sc/source/ui/src/namedefdlg.src index 67f7b438695f..1896918e6f69 100644 --- a/sc/source/ui/src/namedefdlg.src +++ b/sc/source/ui/src/namedefdlg.src @@ -40,89 +40,89 @@ ModelessDialog RID_SCDLG_NAMES_DEFINE Closeable = TRUE; PushButton BTN_ADD { - Pos = MAP_APPFONT( 110, 100 ); - Size = MAP_APPFONT( 40, 14 ); + Pos = MAP_APPFONT( 90, 100 ); + Size = MAP_APPFONT( 50, 15 ); TabStop = TRUE; Text [en-US] = "Add"; }; PushButton BTN_CANCEL { - Pos = MAP_APPFONT( 155, 100 ); - Size = MAP_APPFONT ( 40, 14 ); + Pos = MAP_APPFONT( 145, 100 ); + Size = MAP_APPFONT ( 50, 15 ); TabStop = TRUE; Text [en-US] = "Cancel"; }; CheckBox BTN_MORE { - Pos = MAP_APPFONT( 6, 82 ); - Size = MAP_APPFONT( 60, 14 ); + Pos = MAP_APPFONT( 5, 82 ); + Size = MAP_APPFONT( 60, 15 ); Text [en-US] = "RangeOptions"; }; FixedText FT_INFO { - Pos = MAP_APPFONT( 6, 6 ); - Size = MAP_APPFONT( 180, 14 ); + Pos = MAP_APPFONT( 5, 5 ); + Size = MAP_APPFONT( 180, 15 ); }; FixedText FT_NAME { - Pos = MAP_APPFONT( 6, 25 ); - Size = MAP_APPFONT( 30, 14 ); + Pos = MAP_APPFONT( 5, 25 ); + Size = MAP_APPFONT( 30, 15 ); Text [en-US] = "Name"; }; FixedText FT_RANGE { - Pos = MAP_APPFONT( 6, 44 ); - Size = MAP_APPFONT( 30, 14 ); + Pos = MAP_APPFONT( 5, 45 ); + Size = MAP_APPFONT( 30, 15 ); Text [en-US] = "Range"; }; FixedText FT_SCOPE { - Pos = MAP_APPFONT( 6, 63 ); - Size = MAP_APPFONT( 30, 14 ); + Pos = MAP_APPFONT( 5, 65 ); + Size = MAP_APPFONT( 30, 15 ); Text [en-US] = "Scope"; }; Edit ED_NAME { Border = TRUE; Pos = MAP_APPFONT( 40, 25 ); - Size = MAP_APPFONT( 150, 14 ); + Size = MAP_APPFONT( 155, 15 ); TabStop = TRUE; }; Edit ED_RANGE { Border = TRUE; - Pos = MAP_APPFONT( 40, 44 ); - Size = MAP_APPFONT( 130, 14 ); + Pos = MAP_APPFONT( 40, 45 ); + Size = MAP_APPFONT( 140, 15 ); TabStop = TRUE; }; ImageButton RB_RANGE { - Pos = MAP_APPFONT ( 170 , 44 ) ; - Size = MAP_APPFONT ( 15 , 14 ) ; + Pos = MAP_APPFONT ( 180 , 45 ) ; + Size = MAP_APPFONT ( 15 , 15 ) ; TabStop = TRUE ; QuickHelpText [ en-US ] = "Shrink" ; }; CheckBox BTN_PRINTAREA { HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_PRINTAREA"; - Pos = MAP_APPFONT ( 6 , 100 ) ; - Size = MAP_APPFONT ( 80 , 14 ) ; + Pos = MAP_APPFONT ( 5 , 100 ) ; + Size = MAP_APPFONT ( 80 , 15 ) ; Text [ en-US ] = "~Print range" ; TabStop = TRUE ; }; CheckBox BTN_CRITERIA { HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_CRITERIA"; - Pos = MAP_APPFONT ( 6 , 118 ) ; - Size = MAP_APPFONT ( 60 , 14 ) ; + Pos = MAP_APPFONT ( 5 , 120 ) ; + Size = MAP_APPFONT ( 60 , 15 ) ; Text [ en-US ] = "~Filter" ; TabStop = TRUE ; }; CheckBox BTN_ROWHEADER { HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_ROWHEADER"; - Pos = MAP_APPFONT ( 110, 118 ) ; - Size = MAP_APPFONT ( 82 , 14 ) ; + Pos = MAP_APPFONT ( 110, 120 ) ; + Size = MAP_APPFONT ( 82 , 15 ) ; Text [ en-US ] = "Repeat ~row" ; TabStop = TRUE ; }; @@ -130,15 +130,15 @@ ModelessDialog RID_SCDLG_NAMES_DEFINE { HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_COLHEADER"; Pos = MAP_APPFONT ( 110 , 100 ) ; - Size = MAP_APPFONT ( 82 , 14 ) ; + Size = MAP_APPFONT ( 82 , 15 ) ; Text [ en-US ] = "Repeat ~column" ; TabStop = TRUE ; }; ListBox LB_SCOPE { Border = TRUE; - Pos = MAP_APPFONT ( 40 , 63 ); - Size = MAP_APPFONT ( 150 , 80 ); + Pos = MAP_APPFONT ( 40 , 65 ); + Size = MAP_APPFONT ( 155 , 80 ); TabStop = TRUE; DropDown = TRUE; }; |