Hi everyone,
I made a custom screen which has a titlebar, so I invoked the setPositionDelegate() to put the delegate manager a little lower.
But when I click on the screen(9500), it seems an wrong coordinate was transmited into the delegate. for example, if you click on a ChoiceField, it doesn't show the choice options, but it will if you click at a little below the ChoiceField.
I think the problem is in sublayout():
Code:
protected void sublayout(int width,int height){
super.sublayout(width,height);
setPositionDelegate(0,titlebar.getHeight());
layoutDelegate(width,height-titlebar.getHeight());
setExtent(width,height);
}
Anyone know what the problem is? Thanks in advance.