//--- OBJECT WRITE BEGIN ---
new GuiWindowCtrl(CRPG_BankGui) {
profile = "GuiWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "400 150";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "Canvas.popDialog(CRPG_BankGui);";
text = "CRPG";
maxLength = "255";
resizeWidth = "1";
resizeHeight = "1";
canMove = "1";
canClose = "1";
canMinimize = "1";
canMaximize = "1";
minSize = "50 50";
closeCommand = "Canvas.popDialog(CRPG_BankGui);";
new GuiSwatchCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "30 40";
extent = "150 100";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
color = "0 10 0 20";
new GuiTextCtrl() {
profile = "BlockDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "32 5";
extent = "150 28";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Money on Hand:";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "BlockDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "33 40";
extent = "150 28";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Money in Bank:";
maxLength = "255";
};
new GuiTextCtrl(CRPG_HandMoney) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "40 28";
extent = "60 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "$000000000";
maxLength = "255";
};
new GuiTextCtrl(CRPG_Bank) {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "40 64";
extent = "60 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "$000000000";
maxLength = "255";
};
};
new GuiTextCtrl() {
profile = "BlockListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "27 25";
extent = "88 26";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "CRPG Money";
maxLength = "255";
};
new GuiSwatchCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "210 40";
extent = "150 100";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
color = "0 10 0 20";
new GuiTextEditCtrl(CRPG_BankInput) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 15";
extent = "106 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiBitmapButtonCtrl() {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 38";
extent = "106 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "commandToServer(\'CRPGBankDeposit\',CRPG_BankInput.getValue());";
text = "Deposit";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 0 0 255";
};
new GuiBitmapButtonCtrl() {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 58";
extent = "106 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "commandToServer(\'CRPGBankWithdraw\',CRPG_BankInput.getValue());";
text = "Withdraw";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "0 255 0 255";
};
new GuiBitmapButtonCtrl() {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 78";
extent = "106 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
command = "commandToServer(\'CRPGBankDepositAll\');";
text = "Deposit All";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 0 255";
};
};
new GuiTextCtrl() {
profile = "BlockListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "210 25";
extent = "88 26";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "CRPG Bank";
maxLength = "255";
};
};
//--- OBJECT WRITE END ---
I cannot get it to open up in any other resolution. When it is opened, it takes up the whole screen. I just want it to take up 400x150. pls hep