Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/FileManager/EditPage.rc')
-rwxr-xr-xCPP/7zip/UI/FileManager/EditPage.rc19
1 files changed, 8 insertions, 11 deletions
diff --git a/CPP/7zip/UI/FileManager/EditPage.rc b/CPP/7zip/UI/FileManager/EditPage.rc
index ea261286..eb1e8599 100755
--- a/CPP/7zip/UI/FileManager/EditPage.rc
+++ b/CPP/7zip/UI/FileManager/EditPage.rc
@@ -1,16 +1,13 @@
#include "EditPageRes.h"
#include "../../GuiCommon.rc"
-#define xSize2 196
-#define ySize2 140
-#define xSize (xSize2 + marg + marg)
-#define ySize (ySize2 + marg + marg)
+#define xc SMALL_PAGE_SIZE_X
+#define yc 60
-IDD_EDIT DIALOG 0, 0, xSize, ySize MY_PAGE_STYLE
+IDD_EDIT MY_PAGE
CAPTION "Editor"
-MY_FONT
-BEGIN
- LTEXT "&Editor:", IDC_EDIT_STATIC_EDITOR, marg, marg, xSize2, 8
- EDITTEXT IDC_EDIT_EDIT_EDITOR, marg, 20, xSize2 - 12 - bDotsSize, 14, ES_AUTOHSCROLL
- PUSHBUTTON "...", IDC_EDIT_BUTTON_SET, (xSize - marg - bDotsSize), 20, bDotsSize, bYSize
-END
+{
+ LTEXT "&Editor:", IDC_EDIT_STATIC_EDITOR, m, m, xc, 8
+ EDITTEXT IDC_EDIT_EDIT_EDITOR, m, 20, xc - m - bxsDots, 14, ES_AUTOHSCROLL
+ PUSHBUTTON "...", IDC_EDIT_BUTTON_SET, xs - m - bxsDots, 19, bxsDots, bys
+}