diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.hrc | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/svx/source/dialog/docrecovery.hrc b/svx/source/dialog/docrecovery.hrc index 4b2112d4edc7..cb4bf249e356 100644 --- a/svx/source/dialog/docrecovery.hrc +++ b/svx/source/dialog/docrecovery.hrc @@ -26,33 +26,21 @@ #define PROGR_HEIGHT (RSC_CD_PUSHBUTTON_HEIGHT) -#define SAVE_WIDTH 290 -#define SAVE_HEIGHT 238 -#define SAVE_TITLEWINHEIGHT 36 -#define SAVE_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) -#define SAVE_COL2 (SAVE_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) - -// Save Progress Dialog -#define SAVEPROGR_WIDTH 240 -#define SAVEPROGR_COL0 (RSC_SP_DLG_INNERBORDER_LEFT) -#define SAVEPROGR_COL1 (SAVEPROGR_WIDTH-RSC_SP_DLG_INNERBORDER_RIGHT) -#define SAVEPROGR_CONTROLWIDTH (SAVEPROGR_COL1-SAVEPROGR_COL0) - -#define RECOV_HEIGHT SAVE_HEIGHT -#define RECOV_TITLEWINHEIGHT SAVE_TITLEWINHEIGHT -#define RECOV_DESCRHEIGHT 6*RSC_CD_FIXEDTEXT_HEIGHT +#define RECOV_HEIGHT 238 +#define RECOV_TITLEWINHEIGHT 36 +#define RECOV_DESCRHEIGHT 6*RSC_BS_CHARHEIGHT #define RECOV_ROW1 (RECOV_TITLEWINHEIGHT) -#define RECOV_ROW2 (RECOV_ROW1+RSC_SP_CTRL_Y) +#define RECOV_ROW2 (RECOV_ROW1+7) #define RECOV_ROW3 (RECOV_ROW2+RECOV_DESCRHEIGHT+RSC_SP_CTRL_DESC_Y) -#define RECOV_ROW4 (RECOV_ROW3+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) +#define RECOV_ROW4 (RECOV_ROW3+RSC_BS_CHARHEIGHT+RSC_SP_CTRL_DESC_Y) #define RECOV_ROW5 (RECOV_ROW4+PROGR_HEIGHT+RSC_SP_CTRL_GROUP_Y) -#define RECOV_ROW6 (RECOV_ROW5+RSC_CD_FIXEDTEXT_HEIGHT+RSC_SP_CTRL_DESC_Y) -#define RECOV_ROW10 (RECOV_HEIGHT-RSC_SP_DLG_INNERBORDER_BOTTOM) +#define RECOV_ROW6 (RECOV_ROW5+RSC_BS_CHARHEIGHT+RSC_SP_CTRL_DESC_Y) +#define RECOV_ROW10 (RECOV_HEIGHT-6) #define RECOV_ROW9 (RECOV_ROW10-RSC_CD_PUSHBUTTON_HEIGHT) -#define RECOV_ROW8 (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_CD_FIXEDLINE_HEIGHT) +#define RECOV_ROW8 (RECOV_ROW9-RSC_SP_CTRL_GROUP_Y-RSC_BS_CHARHEIGHT) #define RECOV_ROW7 (RECOV_ROW8-RSC_SP_CTRL_GROUP_Y) #define RECOV_FILELISTHEIGHT (RECOV_ROW7-RECOV_ROW6) -#define RECOV_CONTROLWIDTH (SAVE_COL2-SAVE_COL0) +#define RECOV_CONTROLWIDTH (290-6-RSC_SP_DLG_INNERBORDER_LEFT) #endif |