eclipsesource / eclipsesource/tabris-js
Layout not correctly computed
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
The snippet below produces the wrong layout
### Expected behavior
The red composite, containing the RadioButton should have its intrinsic size. Instead it is spanned to fill the entire screen next to the blue TextView.

### Environment
- Tabris.js version: 2.0.0
- Device: iPhone ES
- OS: 10.3.2
### Code snippet
```javascript
new tabris.TextView({
background: 'blue',
text: 'second label',
left: 16,
right: ['#composite', 16],
}).appendTo(tabris.ui.contentView);
let t2 = new tabris.Composite({
id: 'composite',
background: 'red',
right: 16,
}).appendTo(tabris.ui.contentView);
new tabris.RadioButton({text: 'RadioButton'}).appendTo(t2);
```
Contributor guide
Assessment
This issue has not been assessed yet.