Menu

DatePicker bug

Fenistil
2013-07-18
2013-07-19
  • Fenistil

    Fenistil - 2013-07-18

    Hi!

    I've noticed a strange bug with the DatePicker. If I set its size more than 162 in the Delphi IDE, it looks streched in iOS at runtime. Check screenshot. I see a FIXED_PICKER_HEIGHT = 162 const in the source, but I don't know why is here and I don't want to modify it (I make the DesignTime pack instead).

    On the other hand, it would be very nice, if you could enable a Bug Tracker on sourceforge. Here is a Wiki about it: https://sourceforge.net/apps/trac/sourceforge/wiki/Tracker
    And here a site with a working version: https://sourceforge.net/tracker/?group_id=37116&atid=418820

    Please make it available, then we can post the bugs there and manage them more easily.

    Thanks

     

    Last edit: Fenistil 2013-07-18
    • Fenistil

      Fenistil - 2013-07-18

      I think the 162 should 216, which is the default height in iOS. If I change it, everything work.

       
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-07-18

    Hi, Fenistil

    In iOS framework the DatePicker have 3 fixed size 162.0, 180.0, and 216.0

    but i write a simple code for scale it to any size,
    i set it the smallest size, but can be change,

    it changed to 216.

    the ticket section is available.

    thank you for feedback

     

    Last edit: Babak Yaghoobi 2013-07-18
  • Fenistil

    Fenistil - 2013-07-19

    So it's 216 now, in iOS 6, and was 162 in the past? Because I can't find any way to change it now.

    If I change the const to 216 I can't set its height to 250 for example, it stay 216 in iOS in runtime, but I can change it to 150 and it's working. Moreover, I can't find any image on the net with a DatePicker other than 216 Height. I asked some people who use iPhone for a few years, and they told me, the DatePicker was always the same height in all app. Maybe the Apple don't allow or don't suggest to change it.

    So I can make the designtime component to be resizable, but then should I allow the change of the Height only or both way, or leave it on fix size (320x216)?

    Regards

    PS: Thanks for the Ticket section :)

     

    Last edit: Fenistil 2013-07-19
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-07-19

    Hi,

    the 162, 180 used in old sdk's,
    We cant change this size, only we can scale it,

    Now, you can Fix your size to the 216, and set your image to this size

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.