summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/ui/dlg/paragr.src2
-rw-r--r--sd/source/ui/dlg/prntopts.src4
-rw-r--r--sd/source/ui/dlg/tpoption.src7
3 files changed, 9 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/paragr.src b/sd/source/ui/dlg/paragr.src
index 99a9d4f4c17f..db9d22ca1fd0 100644
--- a/sd/source/ui/dlg/paragr.src
+++ b/sd/source/ui/dlg/paragr.src
@@ -109,7 +109,7 @@ TabPage RID_TABPAGE_PARA_NUMBERING
HelpId = HID_TABPAGE_PARA_NUMBERING ;
Hide = TRUE ;
Text = "Numbering" ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
TriStateBox CB_NEW_START
{
diff --git a/sd/source/ui/dlg/prntopts.src b/sd/source/ui/dlg/prntopts.src
index 7a4f88068e87..3987a97ffb8a 100644
--- a/sd/source/ui/dlg/prntopts.src
+++ b/sd/source/ui/dlg/prntopts.src
@@ -25,13 +25,15 @@
*
************************************************************************/
+#include <sfx2/tabpage.hrc>
+
#include "prntopts.hrc"
#include "helpids.h"
TabPage TP_PRINT_OPTIONS
{
HelpID = HID_SD_PRINT_OPTIONS ;
SVLook = TRUE ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Text [ en-US ] = "Options" ;
Hide = TRUE;
FixedLine GRP_PRINT
diff --git a/sd/source/ui/dlg/tpoption.src b/sd/source/ui/dlg/tpoption.src
index 4738231659bf..62e5f3d7c4ab 100644
--- a/sd/source/ui/dlg/tpoption.src
+++ b/sd/source/ui/dlg/tpoption.src
@@ -24,6 +24,9 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
+
+#include <sfx2/tabpage.hrc>
+
#include "tpoption.hrc"
#include "helpids.h"
@@ -34,7 +37,7 @@
TabPage TP_OPTIONS_CONTENTS
{
HelpID = HID_SD_OPTIONS_CONTENTS ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
Text [ en-US ] = "Contents" ;
FixedLine GRP_DISPLAY
@@ -80,7 +83,7 @@ TabPage TP_OPTIONS_CONTENTS
TabPage TP_OPTIONS_MISC
{
HelpID = HID_SD_OPTIONS_MISC ;
- Size = MAP_APPFONT ( 260 , 185 ) ;
+ Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
Hide = TRUE;
Text [ en-US ] = "Other" ;
FixedLine GRP_TEXT