问题是,我想将文本放入时间线的框事件中。我该如何设置?
<p:layoutUnit id="center" position="center">
<pe:timeline id="timeline" value="#{pageController.tt.timelines}" eventStyle="box"
height="600px" width="100%" axisPosition="top" widgetVar="timelineWidget">
<p:ajax listener="#{pageController.tt.onEventSelect}" event="eventSelect"
update="mainpanel, locations, rooms, timeFrom, timeTo, colorpicker"/>
</pe:timeline>
</p:layoutUnit>
如何实现根据文本量减小文本字体大小或自动完成换行符的行为?