[Ttssh2-commit] [5258] 幅が狭くて日本語のラベルが表示されない所を広くした

svnno****@sourc***** svnno****@sourc*****
2013年 5月 11日 (土) 22:18:52 JST


Revision: 5258
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5258
Author:   maya
Date:     2013-05-11 22:18:51 +0900 (Sat, 11 May 2013)
Log Message:
-----------
幅が狭くて日本語のラベルが表示されない所を広くした

Modified Paths:
--------------
    trunk/teraterm/ttpdlg/ttdlg.c
    trunk/teraterm/ttpdlg/ttpdlg.rc

-------------- next part --------------
Modified: trunk/teraterm/ttpdlg/ttdlg.c
===================================================================
--- trunk/teraterm/ttpdlg/ttdlg.c	2013-05-11 12:45:19 UTC (rev 5257)
+++ trunk/teraterm/ttpdlg/ttdlg.c	2013-05-11 13:18:51 UTC (rev 5258)
@@ -512,7 +512,7 @@
 	for (i = 0 ; i <= 2 ; i++)
 		DX[i] = FW;
 	GetClientRect(Dialog,&Rect);
-	TestRect.left = Rect.left + (int)((Rect.right-Rect.left)*0.65);
+	TestRect.left = Rect.left + (int)((Rect.right-Rect.left)*0.70);
 	TestRect.right = Rect.left + (int)((Rect.right-Rect.left)*0.93);
 	TestRect.top = Rect.top + (int)((Rect.bottom-Rect.top)*0.54);
 #ifdef USE_NORMAL_BGCOLOR

Modified: trunk/teraterm/ttpdlg/ttpdlg.rc
===================================================================
--- trunk/teraterm/ttpdlg/ttpdlg.rc	2013-05-11 12:45:19 UTC (rev 5257)
+++ trunk/teraterm/ttpdlg/ttpdlg.rc	2013-05-11 13:18:51 UTC (rev 5258)
@@ -337,18 +337,18 @@
     GROUPBOX        "Color",IDC_WINCOLOR,10,106,220,93
     CONTROL         "Te&xt",IDC_WINTEXT,"Button",BS_AUTORADIOBUTTON | WS_GROUP,18,118,40,10
     CONTROL         "Bac&kground",IDC_WINBACK,"Button",BS_AUTORADIOBUTTON,18,131,56,10
-    LTEXT           "&Attribute",IDC_WINATTRTEXT,66,116,36,10,NOT WS_VISIBLE
-    COMBOBOX        IDC_WINATTR,104,114,46,38,CBS_DROPDOWNLIST | NOT WS_VISIBLE | WS_VSCROLL | WS_GROUP | WS_TABSTOP
-    PUSHBUTTON      "R&everse",IDC_WINREV,88,130,36,14,WS_GROUP
-    LTEXT           "&R:",IDC_WINREDLABEL,18,147,10,8,NOT WS_GROUP
-    LTEXT           "255",IDC_WINRED,32,147,16,8
-    SCROLLBAR       IDC_WINREDBAR,49,147,100,8,WS_GROUP | WS_TABSTOP
-    LTEXT           "&G:",IDC_WINGREENLABEL,18,159,10,8,NOT WS_GROUP
-    LTEXT           "255",IDC_WINGREEN,32,159,16,8
-    SCROLLBAR       IDC_WINGREENBAR,49,159,100,8,WS_TABSTOP
-    LTEXT           "&B:",IDC_WINBLUELABEL,18,171,10,8,NOT WS_GROUP
-    LTEXT           "255",IDC_WINBLUE,32,171,16,8
-    SCROLLBAR       IDC_WINBLUEBAR,49,171,100,8,WS_TABSTOP
+    LTEXT           "&Attribute",IDC_WINATTRTEXT,76,116,36,10,NOT WS_VISIBLE
+    COMBOBOX        IDC_WINATTR,114,114,46,38,CBS_DROPDOWNLIST | NOT WS_VISIBLE | WS_VSCROLL | WS_GROUP | WS_TABSTOP
+    PUSHBUTTON      "R&everse",IDC_WINREV,98,130,36,14,WS_GROUP
+    LTEXT           "&R:",IDC_WINREDLABEL,18,147,20,8,NOT WS_GROUP
+    LTEXT           "255",IDC_WINRED,42,147,16,8
+    SCROLLBAR       IDC_WINREDBAR,59,147,100,8,WS_GROUP | WS_TABSTOP
+    LTEXT           "&G:",IDC_WINGREENLABEL,18,159,20,8,NOT WS_GROUP
+    LTEXT           "255",IDC_WINGREEN,42,159,16,8
+    SCROLLBAR       IDC_WINGREENBAR,59,159,100,8,WS_TABSTOP
+    LTEXT           "&B:",IDC_WINBLUELABEL,18,171,20,8,NOT WS_GROUP
+    LTEXT           "255",IDC_WINBLUE,42,171,16,8
+    SCROLLBAR       IDC_WINBLUEBAR,59,171,100,8,WS_TABSTOP
     CONTROL         "Always &use Normal text's BG",IDC_WINUSENORMALBG,"Button",BS_AUTOCHECKBOX | NOT WS_VISIBLE | WS_TABSTOP,18,182,115,12
     DEFPUSHBUTTON   "OK",1,194,4,40,16,WS_GROUP
     PUSHBUTTON      "Cancel",2,194,26,40,16



Ttssh2-commit メーリングリストの案内