Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f08aa3ffb0503b2c808622fe6b9f37698c3ff5e6
      
https://github.com/WebKit/WebKit/commit/f08aa3ffb0503b2c808622fe6b9f37698c3ff5e6
  Author: Megan Gardner <[email protected]>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm

  Log Message:
  -----------
  Buttons on the Date/Time picker are too low on visionOS.
https://bugs.webkit.org/show_bug.cgi?id=260316
rdar://113725970

Reviewed by Aditya Keerthi.

We had a hard coded size for the accessory view for the buttons
at the bottom of the date/time picker, and since visionOS has
a different layout, it did not look good on the platform. Use
sizeThatFits to have a good size on all platforms and remove
the constant as well as some others that are no longer used.

* Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:
(-[WKDateTimePicker initWithView:datePickerMode:]):

Canonical link: https://commits.webkit.org/266973@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to