Use TP_WIDTH & TP_HEIGHT for the Connection options page.

Change-Id: I1142b691bc964e3fb12d25ca885dbc5c09cb85c7
This commit is contained in:
Kohei Yoshida 2012-05-30 13:31:20 -04:00
parent 48e1e62114
commit a9b7002172

View file

@ -28,8 +28,8 @@
#include "connpooloptions.hrc" #include "connpooloptions.hrc"
#include <cuires.hrc> #include <cuires.hrc>
#define PAGE_SIZE_X 260 #define PAGE_SIZE_X TP_WIDTH
#define PAGE_SIZE_Y 185 #define PAGE_SIZE_Y TP_HEIGHT
#define LIST_SIZE_Y 100 #define LIST_SIZE_Y 100
@ -37,6 +37,7 @@ TabPage RID_OFAPAGE_CONNPOOLOPTIONS
{ {
HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS"; HelpID = "cui:TabPage:RID_OFAPAGE_CONNPOOLOPTIONS";
OutputSize = TRUE ; OutputSize = TRUE ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ; Size = MAP_APPFONT ( PAGE_SIZE_X, PAGE_SIZE_Y ) ;
SVLook = TRUE ; SVLook = TRUE ;
Hide = TRUE ; Hide = TRUE ;