You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on a layered layout, in a CENTER_BEHAVIOR_CENTER BorderLayout, the height of a span label is not being calculated. Test case:
Button showPopUp = new Button("Show PopUp");
Form f = new Form(BoxLayout.y());
f.add(showPopUp);
showPopUp.addActionListener((e) -> {
SpanLabel messageSpanLabel = g2.getBaseSpanLabel("Tap the following button to open the gallery. You should be able to select multiple images and videos.");
Container centerContainerOuter = new Container(new BorderLayout(CENTER_BEHAVIOR_CENTER));
centerContainerOuter.add(CENTER, messageSpanLabel);
Container layeredPane = getCurrentForm().getLayeredPane();
layeredPane.setLayout(new LayeredLayout());
layeredPane.add(centerContainerOuter);
layeredPane.setVisible(true);
getCurrentForm().revalidate();
});
f.show();
This looks similar to case: #2980. Results in simulator:
The text was updated successfully, but these errors were encountered:
codenameone
changed the title
SpanLabel Height incorrect
SpanLabel Height incorrect setAllowEnableLayoutOnPaint Regression
Jan 19, 2020
When on a layered layout, in a CENTER_BEHAVIOR_CENTER BorderLayout, the height of a span label is not being calculated. Test case:
This looks similar to case: #2980. Results in simulator:

The text was updated successfully, but these errors were encountered: