Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DateChooser Calendar is very large after upgrading from 12.1 to 13.1

    SmartClient Version: v13.1p_2025-03-27/PowerEdition Development Only
    Tested on Firefox v136.0.4 and Edge v134.0.3124.93

    I have been running into an issue with the DateChooser's calendar being overly large when the calendar button is clicked while testing SmartClient v13.1. See below:
    On SmartClient v12.1:
    Click image for larger version

Name:	original datechooser.png
Views:	11
Size:	24.3 KB
ID:	275478
    On SmartClient v13.1:
    Click image for larger version

Name:	too big datechooser.png
Views:	14
Size:	15.4 KB
ID:	275477
    The calendar width is always 1600px no matter the size of the webpage, and this affects all date fields within this application. This is being run in a custom skin, but no modifications were made to the skin during the upgrade test. Nothing in load_skin.js that relates to DateChooser has been changed between the two versions.

    #2
    Thanks for the report.

    There were indeed some enhancements to DateChoosers to provide better visual control/scaling and customization in skins.

    It's difficult to say exactly which settings you're missing, but it looks like the DateChooser and/or DateGrid blocks in your load_skin.js don't specify any widths.

    Your skin looks to be based on Stratus? You could compare your load_skin.js DateChooser/DateGrid blocks with the ones in Stratus' in your 13.1 build - you'll likely see width-related settings that differ between the two.

    Comment


      #3
      Originally posted by Isomorphic View Post
      Thanks for the report.

      There were indeed some enhancements to DateChoosers to provide better visual control/scaling and customization in skins.

      It's difficult to say exactly which settings you're missing, but it looks like the DateChooser and/or DateGrid blocks in your load_skin.js don't specify any widths.

      Your skin looks to be based on Stratus? You could compare your load_skin.js DateChooser/DateGrid blocks with the ones in Stratus' in your 13.1 build - you'll likely see width-related settings that differ between the two.
      Correct, this custom skin was based on Stratus. I compared the 13.1 Stratus load_skin.js and copied over the differences in relation to dates, and that solved the issue.

      Thank you for the assistance, I appreciate it!

      Comment

      Working...
      X