Layout manager with HText...
Hi everyone, I want to develop an application (Xlet) and i use Hsce and Htext. I want to align the Htext in the rect but when i use DVBTextLayoutManager i can't see the Htext, but when i use Hdefaultlayoutmanager i can see the Htext . I use Xletviewer. This is my code:
HSceneFactory hsf = HSceneFactory.getInstance();
scene = hsf.getFullScreenScene(HScreen.getDefaultHScreen().getDefaultHGraphicsDevice());
scene.setSize(720,576);
scene.setLayout(null);
scene.setVisible(true);
cont = new HContainer(0,0,720,576);
DVBTextLayoutManager manage = new DVBTextLayoutManager();
manage.setHorizontalAlign(DVBTextLayoutManager.HORIZONTAL_START_ALIGN);
manage.setVerticalAlign(DVBTextLayoutManager.VERTICAL_CENTER);
text5 = new HText(contenuto, new Font("Tiresias", Font.BOLD, dimensionecont), Color.black, Color.white, manage);
//new HDefaultTextLayoutManager());
text5.setBounds(100,250,610,250);
text5.setVisible(true);
cont.add(text5);
scene.add(cont);
scene.repaint();
where is the problem? thank you

