[Libreoffice-commits] .: Branch 'feature/calc-dp-unlimited-fields' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Dec 15 11:23:49 PST 2010
sc/source/ui/dbgui/pivot.src | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
New commits:
commit 7dcbd30dddd940cae0c14d1082582359f1d476e4
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Wed Dec 15 14:22:33 2010 -0500
The size of each field control is calculated in the dialog code.
Since the size of each field control is calculated in the dialog
code, leave some note in the src file and set the sizes to 1 by 1.
diff --git a/sc/source/ui/dbgui/pivot.src b/sc/source/ui/dbgui/pivot.src
index fc70df9..514a371 100644
--- a/sc/source/ui/dbgui/pivot.src
+++ b/sc/source/ui/dbgui/pivot.src
@@ -46,8 +46,9 @@ ModelessDialog RID_SCDLG_PIVOT_LAYOUT
};
Control WND_PAGE
{
+ /* Size is calculated in the dialog code. */
Pos = MAP_APPFONT ( 20 , 14 ) ;
- Size = MAP_APPFONT ( 202 , 34 ) ;
+ Size = MAP_APPFONT ( 1 , 1 ) ;
TabStop = TRUE ;
};
FixedText FT_COL
@@ -58,8 +59,9 @@ ModelessDialog RID_SCDLG_PIVOT_LAYOUT
};
Control WND_COL
{
+ /* Size is calculated in the dialog code. */
Pos = MAP_APPFONT ( 56 , 56 ) ;
- Size = MAP_APPFONT ( 144 , 34 ) ;
+ Size = MAP_APPFONT ( 1 , 1 ) ;
TabStop = TRUE ;
};
FixedText FT_ROW
@@ -70,8 +72,9 @@ ModelessDialog RID_SCDLG_PIVOT_LAYOUT
};
Control WND_ROW
{
+ /* Size is calculated in the dialog code. */
Pos = MAP_APPFONT ( 6 , 98 ) ;
- Size = MAP_APPFONT ( 50 , 96 ) ;
+ Size = MAP_APPFONT ( 1 , 1 ) ;
TabStop = TRUE ;
};
FixedText FT_DATA
@@ -82,14 +85,16 @@ ModelessDialog RID_SCDLG_PIVOT_LAYOUT
};
Control WND_DATA
{
+ /* Size is calculated in the dialog code. */
Pos = MAP_APPFONT ( 56 , 98 ) ;
- Size = MAP_APPFONT ( 144 , 96 ) ;
+ Size = MAP_APPFONT ( 1 , 1 ) ;
TabStop = TRUE ;
};
Control WND_SELECT
{
+ /* Size is calculated in the dialog code. */
Pos = MAP_APPFONT ( 210 , 14 ) ;
- Size = MAP_APPFONT ( 70 , 136 ) ;
+ Size = MAP_APPFONT ( 1 , 1 ) ;
TabStop = TRUE ;
};
String STR_SELECT
More information about the Libreoffice-commits
mailing list