[TIMOB-25831] Windows Hyperloop: Style CalendarDatePicker Height not working
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Not Our Bug |
| Resolution Date | 2018-03-05T04:22:50.000+0000 |
| Affected Version/s | Release 7.1.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Shuo Liang |
| Assignee | Kota Iguchi |
| Created | 2018-03-02T02:31:59.000+0000 |
| Updated | 2018-08-06T17:52:08.000+0000 |
Description
We are using a Windows.UI.Xaml.Controls.CalendarDatePicker (https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.CalendarDatePicker) and we are trying to add some styling.
We are able to set the width doing something like this:
var CalendarDatePicker = require('Windows.UI.Xaml.Controls.CalendarDatePicker');
var calendarField = new CalendarDatePicker();
calendarField.Width = 272;
BUT when we try to set the height like this, it's not working:
calendarField.Height = 42;
Any idea?
I tried this in purely native project in C++ and found out this is how platform component works and this is not a bug in Hyperloop. For instance following XAML code (in native project) doesn't change height of the
CalendarDatePicker.Closing this as "Not Our Bug" because this is not a Hyperloop bug.Closing as "not our bug". If you disagree, please reopen.