Closed GoogleCodeExporter closed 9 years ago
Please post your test case as code so I can try it out. I have lots of
examples like the one you posted here and they work fine for me.
Original comment by st...@weblite.ca
on 28 Jan 2015 at 12:45
Closing until I receive a test case.
Original comment by st...@weblite.ca
on 30 Jan 2015 at 4:36
Sorry, I am on a bussiness travell with no access to my production tools. I
can get to this as soon as I can back next week
El 28/01/2015 01:45, <codenameone@googlecode.com> escribió:
Original comment by cverd...@gmail.com
on 30 Jan 2015 at 7:55
No worries. I just closed it to clean up my dashboard. I'll reopen when there
is a test case.
Original comment by steve.ha...@codenameone.com
on 30 Jan 2015 at 8:01
Hi
This test case has been checked with:
- ios.newVM=false
- Device iPad 1
-------------------
package com.test;
import com.codename1.ui.Container;
import com.codename1.ui.Display;
import com.codename1.ui.Form;
import com.codename1.ui.List;
import com.codename1.ui.Tabs;
import com.codename1.ui.TextField;
import com.codename1.ui.layouts.BorderLayout;
import com.codename1.ui.layouts.BoxLayout;
import com.codename1.ui.plaf.UIManager;
import com.codename1.ui.util.Resources;
import java.io.IOException;
public class MyApplication {
private Form current;
public void init(Object context) {
try {
Resources theme = Resources.openLayered("/theme");
UIManager.getInstance().setThemeProps(theme.getTheme(theme.getThemeResourceNames()[0]));
} catch(IOException e){
e.printStackTrace();
}
}
public void start() {
if(current != null){
current.show();
return;
}
TextField text = new TextField();
Container box = new Container(new BoxLayout(BoxLayout.Y_AXIS));
box.setScrollableY(true);
box.addComponent(text);
List list = new List();
Tabs tab = new Tabs();
tab.addTab("", box);
tab.addTab("", list);
Form hi = new Form("Hi World");
hi.setLayout(new BorderLayout());
hi.addComponent(BorderLayout.CENTER, tab);
hi.show();
}
public void stop() {
current = Display.getInstance().getCurrent();
}
public void destroy() {
}
}
Original comment by cverd...@gmail.com
on 1 Feb 2015 at 11:36
Original comment by steve.ha...@codenameone.com
on 1 Feb 2015 at 1:19
Your test case is working fine for me on both the old and new VM. I tested
newVM on iPhone4S iOS 8.1. I tested the old vm on iPad 2 (iOS 7.1) (via Xcode
simulator). Don't have access to any older devices.
If you can add more information or a new test case that will fail, I'll reopen.
Original comment by steve.ha...@codenameone.com
on 3 Feb 2015 at 6:59
Original issue reported on code.google.com by
cverd...@gmail.com
on 26 Jan 2015 at 5:44