SmartClient Version: SNAPSHOT_v13.1d_2024-09-08/AllModules Development Only (built 2024-09-08)
I see it's working, thank you very much!
Announcement
Collapse
No announcement yet.
X
-
hi Claudio - we've made things so that if you set hoverAutoFitWidth or hoverAutoFitMaxWidth on the Calendar itself, they'll propagate to the individual views and eventCanvases automatically. You can still override them via weekProperties/eventCanvasProperties, etc.
Please retest with today's build, dated September 8, or a later one.
Leave a comment:
-
The simplest solution is often the best!
But, we'll still consider propagating the hover-settings from the Calendar to its various children - there's no real reason you'd want to apply different sizing rules to a hover for an EventCanvas versus one for a header or the other stuff covered by showViewHovers. We'll update here and let you know if we add a convenience mechanism.
Leave a comment:
-
Oh, it actually works! I hadn’t thought of that, how dumb of me! Thanks for the tip!
Leave a comment:
-
But it's the hovers on the eventCanvases that you want to change, right? Try applying it to Calendar.eventCanvasProperties
Leave a comment:
-
hi Claudio - where did you apply those settings? Did you try applying them to isc.EventCanvas?
Leave a comment:
-
Great, thanks - that sounds like a bug, we'll let you know when it's fixed
Leave a comment:
-
Hello, yes, actually I started playing with hoverAutoFitWidth and hoverAutoFitMaxWidth as the doc suggests, something like:
Code:{hoverAutoFitWidth: true, hoverAutoFitMaxWidth:400}
Leave a comment:
-
hi Claudio,
In general, this approach of just not wrapping hovers is going to be more problematic than wrapping them, we suspect. Presumably, you DO still want the thing to show the whole content, so it would still have to wrap the edge of the component or Page at a minimum, right? Otherwise, you're going to end up with enormously wide, single-line hovers that always extend off-screen to the right.
Can you confirm what you're looking for?Last edited by Isomorphic; 3 Sep 2024, 06:43.
Leave a comment:
-
Calendar day and week views hover properties
SmartClient Version: SNAPSHOT_v13.1d_2024-09-03/AllModules Development Only (built 2024-09-03)
Hello, I just noticed that this settings on a Calendar:
Code:weekViewProperties: {hoverWrap: false} dayViewProperties: {hoverWrap: false}
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", weekViewProperties: {hoverWrap: false}, dayViewProperties: {hoverWrap: false}, startDate: eventData.getDataStartDate(), dataSource: eventDS, autoFetchData: true });
instead, monthViewProperties: {hoverWrap: false} seems to work, you may try to put a long name in some event, and the result will be:
the problem seems to be with any hover-related propertyTags: None
Leave a comment: