Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25831] Windows Hyperloop: Style CalendarDatePicker Height not working

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNot Our Bug
Resolution Date2018-03-05T04:22:50.000+0000
Affected Version/sRelease 7.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterShuo Liang
AssigneeKota Iguchi
Created2018-03-02T02:31:59.000+0000
Updated2018-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?

Comments

  1. Kota Iguchi 2018-03-05

    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.
       <CalendarDatePicker Height="100" Width="200"/>
       
    Closing this as "Not Our Bug" because this is not a Hyperloop bug.
  2. Eric Merriman 2018-08-06

    Closing as "not our bug". If you disagree, please reopen.

JSON Source