Announcement

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

    vertical alignment of Calendar controlsBar

    Hello, I just noticed that eventCalendar_controlsBar (ie the part on the left where you change the date) isn't vertically aligned with the TabButtons on the right.
    I mean that the text "May 23-29, 2021" should be vertically aligned with Day/Week/Month.


    Click image for larger version

Name:	2024-07-10 12.13.22.jpg
Views:	62
Size:	17.6 KB
ID:	272865

    #2
    Thanks Claudio - we've corrected this layout issue for today's builds, dated July 11 and later

    Comment


      #3
      SmartClient Version: SNAPSHOT_v13.1d_2024-07-12/AllModules Development Only (built 2024-07-12)

      Hello, I see it's fixed, thank you very much.

      Comment


        #4
        Hello, maybe it's related to this fix, but a Calendar with showDayView:false and showWeekView:false, ie:

        Code:
        // using a client-only dataSource so that test data is always relative to the current date
        isc.DataSource.create({
            ID: "eventDS",
            fields:[
                {name:"eventId", primaryKey: true, type: "sequence"},
                {name:"name"},
                {name:"description"},
                {name:"startDate", type: "datetime"},
                {name:"endDate", type: "datetime"}
            ],
            clientOnly: true,
            testData: eventData
        
        });
        
        isc.Calendar.create({
            ID: "eventCalendar",
            showDayView:false,
            showWeekView:false,
            startDate: eventData.getDataStartDate(),
            dataSource: eventDS, autoFetchData: true
        });
        is rendered like this:

        Click image for larger version

Name:	2024-07-13 14.35.20.jpg
Views:	83
Size:	34.1 KB
ID:	272914
        Attached Files

        Comment


          #5
          Thanks Claudio - we've fixed this one and added a new attribute, Calendar.controlsBarHeight, to scale the height with "controls". Please retest with today's builds, dated July 14 or later.

          Comment


            #6
            SmartClient Version: SNAPSHOT_v13.1d_2024-07-14/AllModules Development Only (built 2024-07-14)

            I see it's fixed, thank you very much

            Comment

            Working...
            X