on 03-26-2021 4:07 PM
You can assign CSS class to your Planning calendar and modify the respective CSS classes to suit your requirements. sapUiCalendarApp controls the height of each appointment. CSS code would be as follows:
.myCalendar .sapUiCalendarApp {
height:5rem;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Valerio Proietti Marcellini is your XML CODE looking like this ?:
<PlanningCalendar
class='myCalendar'
id="..."
startDate="{path: '/...'}"
rows="{path: '/...'}"
appointmentsVisualization="Filled"
appointmentSelect="handleAppointmentSelect"
showEmptyIntervalHeaders="false">
.............
<appointments>
.............
</appointments>
.............
thanks for the reply but it doesn't work, this code reduces the height of the appointments but not of the calendar object lines
Hello , If you are using latest version of UI5 shall consider using
https://sapui5.hana.ondemand.com/#/api/sap.ui.unified.CalendarAppointmentHeight
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no, this code reduces the height of the appointments but not of the calendar object lines
for now I have found this solution:
css:
.sapMPlanCal>.sapMList .sapMPlanCalRowHead>.sapMLIB, .sapMPlanCal>.sapMList .sapMPlanCalAppRow>.sapUiCalendarRow, .sapMPlanCal>.sapMList .sapMPlanCalAppRow>div>.sapUiCalendarRow {
height: 2rem;
}
unfortunately it is not responsive but I will try to improve it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.