Folks,

Am I missing something? I have a form with a few string items and Images for telling a user the status of a game I'm developing.

With the Emulator (Series 60 MIDP Concept SDK Beta 0.3.1), I get a screen layout I'm happy with but when I run it on my 6600, Everything is all over the place.

Does the 6600 not support the MDIP 2.0 Layout Format ?

regards


==Example Code ==
void jbInit(String s_Playername, int i_GameType) throws Exception {
try {
switch (i_GameType) {
case 0:
image1 = Image.createImage("/mobintfac/res/INTERICON.PNG");
imgGameType.setAltText(cl.GetText(cl.BASICGAME));
}

append(spacer1);
spacer1.setPreferredSize(10, 10);
append(strStatus1);
strStatus1.setText(cl.GetText(cl.URCHALLANGING));
strStatus1.setLabel("");
strStatus1.setLayout(Item.LAYOUT_CENTER | Item.LAYOUT_VCENTER |
Item.LAYOUT_NEWLINE_BEFORE | Item.LAYOUT_SHRINK |
Item.LAYOUT_EXPAND | Item.LAYOUT_VSHRINK |
Item.LAYOUT_VEXPAND | Item.LAYOUT_2);
clsLogScreen.log(Integer.toString(strStatus1.getLayout()));
imgGameType.setImage(image1);
imgGameType.setLabel("");
imgGameType.setLayout(ImageItem.LAYOUT_CENTER);
append(spacer2);
spacer2.setPreferredSize(10, 10);
append(imgGameType);
StrStatus2.setFont(Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN,
Font.SIZE_MEDIUM));
StrStatus2.setText(s_Playername);
StrStatus2.setLabel("");
StrStatus2.setLayout(Item.LAYOUT_CENTER | Item.LAYOUT_TOP |
Item.LAYOUT_NEWLINE_BEFORE |
Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_SHRINK |
Item.LAYOUT_EXPAND | Item.LAYOUT_VSHRINK |
Item.LAYOUT_VEXPAND | Item.LAYOUT_2);
append(StrStatus2);
append(strStatus3);
strStatus3.setFont(Font.getFont(Font.FACE_SYSTEM, Font.STYLE_PLAIN,
Font.SIZE_MEDIUM));
strStatus3.setText(cl.GetText(cl.WAITING));
strStatus3.setLabel("");
strStatus3.setLayout(Item.LAYOUT_CENTER | Item.LAYOUT_VCENTER |
Item.LAYOUT_NEWLINE_BEFORE |
Item.LAYOUT_NEWLINE_AFTER | Item.LAYOUT_SHRINK |
Item.LAYOUT_EXPAND | Item.LAYOUT_VSHRINK |
Item.LAYOUT_VEXPAND | Item.LAYOUT_2);
cmdAbort = new Command(cl.GetText(cl.CANCEL), cl.GetText(cl.CANCEL),
Command.BACK, 1);
addCommand(cmdAbort);
setCommandListener(this);
}
catch (Exception e) {
clsLogScreen.log("clsStatus->Initialise->"+e.toString());
}
}