eclipsesource / eclipsesource/tabris-js
Windows 10 - centerX and centerY offset not working
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
### Problem description
These buttons work as expected on iPhone 6, but the offset is ignored on |Windows 10.
Thanks.
### Environment
- Tabris.js version: 2.4
- Device: Windows 10
- OS: iOS 10.3.1
### Code snippet
```javascript
// This is a simple Tabris.js app. Feel free to modify as you please.
// Changes are saved immediately and will be available on your device after reload.
const {Button, TextView, ui} = require('tabris');
// Create a push button and add it to the content view
let button = new Button({
centerX: 0, centerY: 0,
text: 'Button'
}).appendTo(ui.contentView);
// Create a push button and add it to the content view
let button1 = new Button({
centerX: 100, centerY: 100,
text: 'Button1'
}).appendTo(ui.contentView);
```

Contributor guide
Assessment
This issue has not been assessed yet.