summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-05-15 10:10:18 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-17 07:57:59 +0200
commitf70fe6e651eefbc69c434256f7e74ad53519a36c (patch)
treeb249e3372dcc14b618868b1f0b7a3916b50f2312 /svx
parent9baeb0bd8f621457d265f09bd377d7147141030d (diff)
fdo#49921 make sure all tab pages have the same dimensions
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/hdft.src4
-rw-r--r--svx/source/dialog/optgrid.src2
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/hdft.src b/svx/source/dialog/hdft.src
index 25278279e4ed..263761e55aec 100644
--- a/svx/source/dialog/hdft.src
+++ b/svx/source/dialog/hdft.src
@@ -42,7 +42,7 @@ TabPage RID_SVXPAGE_HEADER
HelpId = HID_FORMAT_HEADER ;
Hide = TRUE ;
Text [ en-US ] = "Header" ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
CheckBox CB_TURNON
{
HelpID = "svx:CheckBox:RID_SVXPAGE_HEADER:CB_TURNON";
@@ -190,7 +190,7 @@ TabPage RID_SVXPAGE_FOOTER
HelpId = HID_FORMAT_FOOTER ;
Hide = TRUE ;
Text [ en-US ] = "Footer" ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
CheckBox CB_TURNON
{
HelpID = "svx:CheckBox:RID_SVXPAGE_FOOTER:CB_TURNON";
diff --git a/svx/source/dialog/optgrid.src b/svx/source/dialog/optgrid.src
index 0d5cfd03f1da..ecf45ddf4dd3 100644
--- a/svx/source/dialog/optgrid.src
+++ b/svx/source/dialog/optgrid.src
@@ -35,7 +35,7 @@ TabPage RID_SVXPAGE_GRID
HelpId = HID_OPTIONS_GRID ;
SVLook = TRUE ;
Hide = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
FixedLine GRP_DRAWGRID
{
Pos = MAP_APPFONT ( 6 , 3 ) ;