diff options
author | David Tardon <dtardon@redhat.com> | 2012-05-15 10:10:18 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-17 07:57:59 +0200 |
commit | f70fe6e651eefbc69c434256f7e74ad53519a36c (patch) | |
tree | b249e3372dcc14b618868b1f0b7a3916b50f2312 /cui | |
parent | on Windows we need both propex (Perl script) and propex.bat (launcher) (diff) | |
download | core-f70fe6e651eefbc69c434256f7e74ad53519a36c.tar.gz core-f70fe6e651eefbc69c434256f7e74ad53519a36c.zip |
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 'cui')
39 files changed, 71 insertions, 71 deletions
diff --git a/cui/source/dialogs/gallery.src b/cui/source/dialogs/gallery.src index 0108027488b0..c60f31a58ebe 100644 --- a/cui/source/dialogs/gallery.src +++ b/cui/source/dialogs/gallery.src @@ -86,7 +86,7 @@ TabPage RID_SVXTABPAGE_GALLERY_GENERAL HelpId = HID_GALLERY_PROPERTIES_GENERAL; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedImage FI_MS_IMAGE { Pos = MAP_APPFONT ( 6 , 6 ) ; @@ -166,7 +166,7 @@ TabPage RID_SVXTABPAGE_GALLERYTHEME_FILES HelpId = HID_GALLERY_BROWSER ; Hide = TRUE ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedText FT_FILETYPE { Pos = MAP_APPFONT ( 6 , 8 ) ; diff --git a/cui/source/options/dbregister.src b/cui/source/options/dbregister.src index e2ad56ceedd0..3b518eea91d0 100644 --- a/cui/source/options/dbregister.src +++ b/cui/source/options/dbregister.src @@ -38,7 +38,7 @@ TabPage RID_SFXPAGE_DBREGISTER OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Registered databases" ; FixedText FT_TYPE diff --git a/cui/source/options/fontsubs.src b/cui/source/options/fontsubs.src index 5938efe4be11..a99f9efbda69 100644 --- a/cui/source/options/fontsubs.src +++ b/cui/source/options/fontsubs.src @@ -35,7 +35,7 @@ TabPage RID_SVX_FONT_SUBSTITUTION HelpID = HID_OFA_FONT_SUBSTITUTION ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; CheckBox CB_USETABLE { HelpID = "cui:CheckBox:RID_SVX_FONT_SUBSTITUTION:CB_USETABLE"; diff --git a/cui/source/options/optasian.src b/cui/source/options/optasian.src index 80da6310695b..82ebe288fb70 100644 --- a/cui/source/options/optasian.src +++ b/cui/source/options/optasian.src @@ -34,7 +34,7 @@ TabPage RID_SVXPAGE_ASIAN_LAYOUT { HelpId = HID_OPTIONS_ASIAN_LAYOUT ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; FixedLine GB_KERNING diff --git a/cui/source/options/optchart.src b/cui/source/options/optchart.src index 7c95d04cabad..5b5fe3450463 100644 --- a/cui/source/options/optchart.src +++ b/cui/source/options/optchart.src @@ -34,7 +34,7 @@ TabPage RID_OPTPAGE_CHART_DEFCOLORS { HelpID = HID_OPTIONS_CHART_DEFCOLORS; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; Text [ en-US ] = "Default Colors"; FixedLine FL_CHART_COLOR_LIST diff --git a/cui/source/options/optcolor.src b/cui/source/options/optcolor.src index 4313415280b9..fdfb1094fa10 100644 --- a/cui/source/options/optcolor.src +++ b/cui/source/options/optcolor.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_COLORCONFIG OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_COLORSCHEME { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/options/optctl.src b/cui/source/options/optctl.src index a9207701fd52..97769ce51817 100644 --- a/cui/source/options/optctl.src +++ b/cui/source/options/optctl.src @@ -35,7 +35,7 @@ TabPage RID_SVXPAGE_OPTIONS_CTL { HelpId = HID_OPTIONS_CTL ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; Text [ en-US ] = "Complex Text Layout" ; diff --git a/cui/source/options/optfltr.src b/cui/source/options/optfltr.src index 60c40306b48c..1523a01e7424 100644 --- a/cui/source/options/optfltr.src +++ b/cui/source/options/optfltr.src @@ -33,7 +33,7 @@ TabPage RID_OFAPAGE_MSFILTEROPT { HelpID = "cui:TabPage:RID_OFAPAGE_MSFILTEROPT"; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; @@ -127,7 +127,7 @@ TabPage RID_OFAPAGE_MSFILTEROPT2 { HelpID = "cui:TabPage:RID_OFAPAGE_MSFILTEROPT2"; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; diff --git a/cui/source/options/optgdlg.src b/cui/source/options/optgdlg.src index 0e01fe0981b4..4319a95212af 100644 --- a/cui/source/options/optgdlg.src +++ b/cui/source/options/optgdlg.src @@ -40,7 +40,7 @@ TabPage OFA_TP_MISC { HelpID = HID_OFA_TP_MISC ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_HELP { @@ -204,7 +204,7 @@ TabPage OFA_TP_VIEW { HelpID = HID_OFA_TP_VIEW ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_USERINTERFACE { @@ -485,7 +485,7 @@ TabPage OFA_TP_LANGUAGES { HelpID = HID_OFA_TP_LANGUAGES ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_UI_LANG { diff --git a/cui/source/options/optgenrl.src b/cui/source/options/optgenrl.src index bc5721024c1a..5e40efe97d18 100644 --- a/cui/source/options/optgenrl.src +++ b/cui/source/options/optgenrl.src @@ -41,7 +41,7 @@ TabPage RID_SFXPAGE_GENERAL OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "User Data" ; FixedText FT_COMPANY { diff --git a/cui/source/options/opthtml.src b/cui/source/options/opthtml.src index 4d8c0b5547f2..cc471034dfae 100644 --- a/cui/source/options/opthtml.src +++ b/cui/source/options/opthtml.src @@ -34,7 +34,7 @@ TabPage RID_OFAPAGE_HTMLOPT { HelpID = "cui:TabPage:RID_OFAPAGE_HTMLOPT"; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; FixedText FT_SIZE1 diff --git a/cui/source/options/optinet2.hrc b/cui/source/options/optinet2.hrc index a4c1781aadfe..64bf526beadb 100644 --- a/cui/source/options/optinet2.hrc +++ b/cui/source/options/optinet2.hrc @@ -27,6 +27,8 @@ #ifndef _SVX_OPTINET_HRC #define _SVX_OPTINET_HRC +#include <sfx2/tabpage.hrc> + #ifndef _SVT_CONTROLDIMS_HRC_ #include <svtools/controldims.hrc> #endif @@ -99,8 +101,6 @@ #define STR_SEC_NOPASSWDSAVE 12 -#define TP_WIDTH 260 -#define TP_HEIGHT 185 #define OFFS_BUTTON_Y (-6) #define BORDER_OFFSET 8 #define COL_0 (RSC_SP_TBPG_INNERBORDER_LEFT) diff --git a/cui/source/options/optinet2.src b/cui/source/options/optinet2.src index 029c46e311bb..03688e2554e7 100644 --- a/cui/source/options/optinet2.src +++ b/cui/source/options/optinet2.src @@ -40,7 +40,7 @@ TabPage RID_SVXPAGE_INET_MOZPLUGIN { HelpID = "cui:TabPage:RID_SVXPAGE_INET_MOZPLUGIN"; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; @@ -64,7 +64,7 @@ TabPage RID_SVXPAGE_INET_PROXY { HelpId = HID_OPTIONS_PROXY ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; Text [ en-US ] = "Proxy" ; @@ -450,7 +450,7 @@ TabPage RID_SVXPAGE_INET_MAIL { HelpID = HID_OPTIONS_MAIL ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_MAIL diff --git a/cui/source/options/optjava.src b/cui/source/options/optjava.src index 6e7a42931571..0044646e359c 100644 --- a/cui/source/options/optjava.src +++ b/cui/source/options/optjava.src @@ -39,7 +39,7 @@ TabPage RID_SVXPAGE_OPTIONS_JAVA OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Java" ; FixedLine FL_JAVA diff --git a/cui/source/options/optjsearch.src b/cui/source/options/optjsearch.src index 463e68881e4c..21f97c0b3036 100644 --- a/cui/source/options/optjsearch.src +++ b/cui/source/options/optjsearch.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_JSEARCH_OPTIONS HelpId = HID_SVXPAGE_JSEARCH_OPTIONS ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_TREAT_AS_EQUAL { Pos = MAP_APPFONT( 6, 3 ); diff --git a/cui/source/options/optlingu.src b/cui/source/options/optlingu.src index 1187295b2ac3..cc8fb16ef574 100644 --- a/cui/source/options/optlingu.src +++ b/cui/source/options/optlingu.src @@ -201,7 +201,7 @@ TabPage RID_SFXPAGE_LINGU HelpId = HID_OPTIONS_LINGU ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Options"; FixedLine FL_LINGUISTIC { diff --git a/cui/source/options/optmemory.src b/cui/source/options/optmemory.src index c1e748bc7673..3d0570989e64 100644 --- a/cui/source/options/optmemory.src +++ b/cui/source/options/optmemory.src @@ -35,7 +35,7 @@ TabPage OFA_TP_MEMORY { HelpID = HID_OFA_TP_MEMORY ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine GB_UNDO { diff --git a/cui/source/options/optpath.src b/cui/source/options/optpath.src index c6400a2246ba..60fc5b1bc44e 100644 --- a/cui/source/options/optpath.src +++ b/cui/source/options/optpath.src @@ -40,7 +40,7 @@ TabPage RID_SFXPAGE_PATH OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Paths" ; FixedText FT_TYPE { diff --git a/cui/source/options/optsave.src b/cui/source/options/optsave.src index eafb980cdaf2..8bce711411c0 100644 --- a/cui/source/options/optsave.src +++ b/cui/source/options/optsave.src @@ -42,7 +42,7 @@ TabPage RID_SFXPAGE_SAVE SVLook = TRUE ; Hide = TRUE ; TEXT_SAVEPAGE - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine LB_LOAD { Pos = MAP_APPFONT ( 6 , 2 ) ; diff --git a/cui/source/options/optupdt.src b/cui/source/options/optupdt.src index 6b271b91c71c..900ece49322e 100644 --- a/cui/source/options/optupdt.src +++ b/cui/source/options/optupdt.src @@ -37,7 +37,7 @@ TabPage RID_SVXPAGE_ONLINEUPDATE OutputSize = TRUE ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "OnlineUpdate" ; FixedLine FL_OPTIONS { diff --git a/cui/source/tabpages/align.src b/cui/source/tabpages/align.src index 05d4b39d6767..5f922bc13e2e 100644 --- a/cui/source/tabpages/align.src +++ b/cui/source/tabpages/align.src @@ -41,7 +41,7 @@ TabPage RID_SVXPAGE_ALIGNMENT HelpId = HID_ALIGNMENT ; Hide = TRUE ; Text [ en-US ] = "Alignment" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; FixedLine FL_ALIGNMENT { diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src index 67dd19b403c4..9c45fd3ebb15 100644 --- a/cui/source/tabpages/autocdlg.src +++ b/cui/source/tabpages/autocdlg.src @@ -143,7 +143,7 @@ TabPage RID_OFAPAGE_AUTOCORR_OPTIONS { HelpId = HID_OFAPAGE_AUTOCORR_OPTIONS ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; SVLook = TRUE ; Text [ en-US ] = "Settings" ; @@ -166,7 +166,7 @@ TabPage RID_OFAPAGE_AUTOFMT_APPLY HelpID = HID_OFAPAGE_AUTOFMT_OPTIONS ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Control CLB_SETTINGS { Pos = MAP_APPFONT ( 6 , 6 ) ; @@ -301,7 +301,7 @@ TabPage RID_OFAPAGE_AUTOCORR_REPLACE { HelpId = HID_OFAPAGE_AUTOCORR_REPLACE ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; FixedText FT_SHORT @@ -380,7 +380,7 @@ TabPage RID_OFAPAGE_AUTOCORR_EXCEPT { HelpId = HID_OFAPAGE_AUTOCORR_EXCEPT ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; FixedLine FL_ABBREV @@ -506,7 +506,7 @@ TabPage RID_OFAPAGE_AUTOCORR_QUOTE { HelpId = HID_OFAPAGE_AUTOCORR_QUOTE ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; Text [ en-US ] = "Localized Options" ; @@ -699,7 +699,7 @@ TabPage RID_OFAPAGE_AUTOCOMPLETE_OPTIONS { HelpId = HID_OFAPAGE_AUTOCOMPLETE_OPTIONS ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; CheckBox CB_ACTIV @@ -832,7 +832,7 @@ TabPage RID_OFAPAGE_SMARTTAG_OPTIONS { HelpId = HID_OFAPAGE_SMARTTAG_OPTIONS ; OutputSize = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; SVLook = TRUE ; Hide = TRUE ; Text [ en-US ] = "Smart Tags"; diff --git a/cui/source/tabpages/backgrnd.src b/cui/source/tabpages/backgrnd.src index 98de17504bbf..adcf7e47f553 100644 --- a/cui/source/tabpages/backgrnd.src +++ b/cui/source/tabpages/backgrnd.src @@ -40,7 +40,7 @@ TabPage RID_SVXPAGE_BACKGROUND { HelpId = HID_BACKGROUND ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Background" ; FixedText FT_SELECTOR { diff --git a/cui/source/tabpages/border.src b/cui/source/tabpages/border.src index 45b412d36ec5..a7c239e0486f 100644 --- a/cui/source/tabpages/border.src +++ b/cui/source/tabpages/border.src @@ -35,7 +35,7 @@ // RID_SVXPAGE_BORDER --------------------------------------------------- TabPage RID_SVXPAGE_BORDER { - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Helpid = HID_BORDER ; Hide = TRUE ; Text [ en-US ] = "Borders" ; diff --git a/cui/source/tabpages/chardlg.src b/cui/source/tabpages/chardlg.src index abf9edcbd1eb..38553d4e127f 100644 --- a/cui/source/tabpages/chardlg.src +++ b/cui/source/tabpages/chardlg.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_CHAR_NAME { HelpId = HID_SVXPAGE_CHAR_NAME ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_WEST { @@ -385,7 +385,7 @@ TabPage RID_SVXPAGE_CHAR_NAME TabPage RID_SVXPAGE_CHAR_EFFECTS { HelpId = HID_SVXPAGE_CHAR_EFFECTS ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedText FT_FONTCOLOR { @@ -710,7 +710,7 @@ TabPage RID_SVXPAGE_CHAR_EFFECTS TabPage RID_SVXPAGE_CHAR_POSITION { HelpId = HID_SVXPAGE_CHAR_POSITION ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_POSITION { @@ -931,7 +931,7 @@ TabPage RID_SVXPAGE_CHAR_POSITION TabPage RID_SVXPAGE_CHAR_TWOLINES { HelpId = HID_SVXPAGE_CHAR_TWOLINES ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE ; FixedLine FL_SWITCHON { diff --git a/cui/source/tabpages/connect.src b/cui/source/tabpages/connect.src index 1414cf0ccb97..3ce6de6bf688 100644 --- a/cui/source/tabpages/connect.src +++ b/cui/source/tabpages/connect.src @@ -37,7 +37,7 @@ TabPage RID_SVXPAGE_CONNECTION HelpId = HID_PAGE_CONNECTION ; SVLook = TRUE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Connector" ; FixedText FT_TYPE { diff --git a/cui/source/tabpages/grfpage.src b/cui/source/tabpages/grfpage.src index 6e1b5af9618a..d9d2fde34b63 100644 --- a/cui/source/tabpages/grfpage.src +++ b/cui/source/tabpages/grfpage.src @@ -43,7 +43,7 @@ TabPage RID_SVXPAGE_GRFCROP HelpID = HID_SVXPAGE_GRFCROP; SVLook = TRUE ; Pos = MAP_APPFONT ( 0 , 0 ) ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_CROP { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/labdlg.src b/cui/source/tabpages/labdlg.src index b096b01c0137..3bbafdfe8166 100644 --- a/cui/source/tabpages/labdlg.src +++ b/cui/source/tabpages/labdlg.src @@ -35,7 +35,7 @@ TabPage RID_SVXPAGE_CAPTION HelpId = HID_CAPTION ; Hide = TRUE ; //Size = MAP_APPFONT ( 189 , 97 ) ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Callouts" ; Control CT_CAPTTYPE { diff --git a/cui/source/tabpages/measure.src b/cui/source/tabpages/measure.src index 624cf3e8fd85..325949f21406 100644 --- a/cui/source/tabpages/measure.src +++ b/cui/source/tabpages/measure.src @@ -37,7 +37,7 @@ TabPage RID_SVXPAGE_MEASURE { HelpId = HID_PAGE_MEASURE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Dimensioning" ; FixedLine FL_LINE diff --git a/cui/source/tabpages/numfmt.src b/cui/source/tabpages/numfmt.src index 867f93c7e753..a18293676796 100644 --- a/cui/source/tabpages/numfmt.src +++ b/cui/source/tabpages/numfmt.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_NUMBERFORMAT HelpId = HID_NUMBERFORMAT ; Hide = TRUE ; Text [ en-US ] = "Number Format" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedText FT_CATEGORY { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/numpages.src b/cui/source/tabpages/numpages.src index ef3426b42641..834d3c78e276 100644 --- a/cui/source/tabpages/numpages.src +++ b/cui/source/tabpages/numpages.src @@ -39,7 +39,7 @@ TabPage RID_SVXPAGE_PICK_BULLET { HelpID = HID_SVXPAGE_PICK_BULLET ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedLine FL_VALUES { @@ -63,7 +63,7 @@ TabPage RID_SVXPAGE_PICK_SINGLE_NUM { HelpID = HID_SVXPAGE_PICK_SINGLE_NUM ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedLine FL_VALUES { @@ -87,7 +87,7 @@ TabPage RID_SVXPAGE_PICK_NUM { HelpID = HID_SVXPAGE_PICK_NUM; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedLine FL_VALUES { @@ -111,7 +111,7 @@ TabPage RID_SVXPAGE_PICK_BMP { HelpID = HID_SVXPAGE_PICK_BMP; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedLine FL_VALUES { @@ -152,7 +152,7 @@ TabPage RID_SVXPAGE_NUM_OPTIONS { HelpID = HID_SVXPAGE_NUM_OPTIONS ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedText FT_LEVEL { @@ -546,7 +546,7 @@ TabPage RID_SVXPAGE_NUM_POSITION { HelpID = HID_SVXPAGE_NUM_POSITION ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Hide = TRUE; FixedText FT_LEVEL { diff --git a/cui/source/tabpages/page.src b/cui/source/tabpages/page.src index 2137ff238808..367c98a867d8 100644 --- a/cui/source/tabpages/page.src +++ b/cui/source/tabpages/page.src @@ -39,7 +39,7 @@ TabPage RID_SVXPAGE_PAGE { HelpId = HID_FORMAT_PAGE ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_PAPER_SIZE { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/paragrph.src b/cui/source/tabpages/paragrph.src index e064ac704f05..3ac2c7f69c46 100644 --- a/cui/source/tabpages/paragrph.src +++ b/cui/source/tabpages/paragrph.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_STD_PARAGRAPH HelpId = HID_FORMAT_PARAGRAPH_STD ; Hide = TRUE ; Text [ en-US ] = "Indents and Spacing" ; - Size = MAP_APPFONT ( 260 , 199 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedText FT_LEFTINDENT { Pos = MAP_APPFONT ( 12 , 16 ) ; @@ -282,7 +282,7 @@ TabPage RID_SVXPAGE_ALIGN_PARAGRAPH HelpId = HID_FORMAT_PARAGRAPH_ALIGN ; Hide = TRUE ; Text [ en-US ] = "Alignment" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_ALIGN { Pos = MAP_APPFONT ( 6 , 3 ) ; @@ -431,7 +431,7 @@ TabPage RID_SVXPAGE_EXT_PARAGRAPH HelpId = HID_FORMAT_PARAGRAPH_EXT ; Hide = TRUE ; Text [ en-US ] = "Text Flow" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; TriStateBox BTN_HYPHEN { HelpID = "cui:TriStateBox:RID_SVXPAGE_EXT_PARAGRAPH:BTN_HYPHEN"; @@ -708,7 +708,7 @@ TabPage RID_SVXPAGE_PARA_ASIAN HelpId = HID_SVXPAGE_PARA_ASIAN ; Hide = TRUE ; Text [ en-US ] = "Asian Typography"; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_AS_OPTIONS { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/swpossizetabpage.src b/cui/source/tabpages/swpossizetabpage.src index f22227ac8061..619fe8656570 100644 --- a/cui/source/tabpages/swpossizetabpage.src +++ b/cui/source/tabpages/swpossizetabpage.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_SWPOSSIZE HelpId = HID_SVXPAGE_SWPOSSIZE; Hide = TRUE ; Text[ en-US ] = "Position and Size" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_SIZE { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/tabarea.src b/cui/source/tabpages/tabarea.src index fe22673ba61b..3bc0ca8d3798 100644 --- a/cui/source/tabpages/tabarea.src +++ b/cui/source/tabpages/tabarea.src @@ -41,7 +41,7 @@ TabPage RID_SVXPAGE_TRANSPARENCE { HelpID = HID_AREA_TRANSPARENCE; Hide = TRUE; - Size = MAP_APPFONT ( 260 , 185 ); + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ); FixedLine FL_PROP { Pos = MAP_APPFONT ( 6 , 3 ) ; @@ -258,7 +258,7 @@ TabPage RID_SVXPAGE_TRANSPARENCE // ------------------------------------------------------ TabPage RID_SVXPAGE_AREA { - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; HelpID = HID_AREA_AREA ; Hide = TRUE ; Text [ en-US ] = "Area" ; @@ -581,7 +581,7 @@ TabPage RID_SVXPAGE_SHADOW { HelpID = HID_AREA_SHADOW ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Shadow" ; FixedLine FL_PROP { @@ -688,7 +688,7 @@ TabPage RID_SVXPAGE_HATCH HelpID = HID_AREA_HATCH ; Hide = TRUE ; Text [ en-US ] = "Hatching" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_PROP { Pos = MAP_APPFONT ( 6 , 3 ) ; @@ -868,7 +868,7 @@ TabPage RID_SVXPAGE_BITMAP HelpID = HID_AREA_BITMAP ; Hide = TRUE ; Text [ en-US ] = "Bitmap Patterns" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_PROP { Pos = MAP_APPFONT ( 6 , 3 ) ; @@ -1017,7 +1017,7 @@ TabPage RID_SVXPAGE_GRADIENT HelpID = HID_AREA_GRADIENT ; Hide = TRUE ; Text [ en-US ] = "Gradients" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_PROP { Pos = MAP_APPFONT ( 6 , 3 ) ; @@ -1283,7 +1283,7 @@ TabPage RID_SVXPAGE_COLOR Hide = TRUE ; Text [ en-US ] = "Colors" ; SVLook = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_PROP { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/tabline.src b/cui/source/tabpages/tabline.src index de03c1b0a803..5e0108e3a4d7 100644 --- a/cui/source/tabpages/tabline.src +++ b/cui/source/tabpages/tabline.src @@ -37,7 +37,7 @@ TabPage RID_SVXPAGE_LINE { - Size = MAP_APPFONT ( 260 , 185 ); + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ); HelpId = HID_LINE_LINE ; Hide = TRUE ; Text [ en-US ] = "Lines" ; @@ -419,7 +419,7 @@ TabPage RID_SVXPAGE_LINE TabPage RID_SVXPAGE_LINE_DEF { - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; HelpId = HID_LINE_DEF ; Hide = TRUE ; Text [ en-US ] = "Define line styles" ; @@ -693,7 +693,7 @@ TabPage RID_SVXPAGE_LINE_DEF TabPage RID_SVXPAGE_LINEEND_DEF { - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; HelpId = HID_LINE_ENDDEF ; Hide = TRUE ; Text [ en-US ] = "Arrowheads" ; diff --git a/cui/source/tabpages/tabstpge.src b/cui/source/tabpages/tabstpge.src index e4f2c600a87e..1b309832becc 100644 --- a/cui/source/tabpages/tabstpge.src +++ b/cui/source/tabpages/tabstpge.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_TABULATOR HelpId = HID_TABULATOR ; Hide = TRUE ; Text [ en-US ] = "Tabs" ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; FixedLine FL_TABPOS { Pos = MAP_APPFONT ( 6 , 3 ) ; diff --git a/cui/source/tabpages/textanim.src b/cui/source/tabpages/textanim.src index b3305653343b..f923f8130001 100644 --- a/cui/source/tabpages/textanim.src +++ b/cui/source/tabpages/textanim.src @@ -289,7 +289,7 @@ TabDialog RID_SVXDLG_TEXT { OutputSize = TRUE ; Pos = MAP_APPFONT ( 3 , 3 ) ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; PageList = { PageItem diff --git a/cui/source/tabpages/textattr.src b/cui/source/tabpages/textattr.src index c4ae4b5062ce..0d8d7b1853fe 100644 --- a/cui/source/tabpages/textattr.src +++ b/cui/source/tabpages/textattr.src @@ -36,7 +36,7 @@ TabPage RID_SVXPAGE_TEXTATTR { HelpId = HID_PAGE_TEXTATTR ; Hide = TRUE ; - Size = MAP_APPFONT ( 260 , 185 ) ; + Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; Text [ en-US ] = "Text" ; FixedLine FL_TEXT { |