The arrow doesn't draw if you define a CSS style for the InteractionDialog
ThomasH99 opened this issue · comments
Describe the bug
The arrow doesn't draw if you define a CSS style for the InteractionDialog.
Your support indicated this may be due to a regression in the CSS parser.
(tested on Simulator)
Here’s my test code:
Form hi = new Form("InteractionDialog", BoxLayout.y());
TextArea textArea = new TextArea("some text");
hi.add(textArea);
hi.show();
InteractionDialog id = new InteractionDialog();
id.setTitle("TitleX");
id.showPopupDialog(textArea);
When I run without any css styling I get this (simulator) with a white arrow:
When I add this to the css:
PopupDialog {
background-color: lightblue;
border-radius: 1mm;
margin: 0px;
padding: 2mm;
}
I get this without the arrow:
So, it seems the issue is with CN1 and not my code?
Also, if I remove the PopupDialog definition from css and save it again (so the Simulator reloads the css), it updates the color and size of the popup (and leaves space for the arrow), but does NOT add the arrow:
Fixed. Will be part of next update on friday.