The MindFusion Forums
Scheduling and Gantt Components >> Java Swing >> time interval
https://mindfusion.eu/Forum/YaBB.pl?num=1504095473

Message started by Ionut Murarasu on Aug 30th, 2017 at 12:17pm

Title: time interval
Post by Ionut Murarasu on Aug 30th, 2017 at 12:17pm
Hello,

I have a question. It is possible to align to top the value for hour interval that is present in the left of the interval hour.

I see that with default is shown in the middle.

I attached an image.

Thanks,
Ionut
interval.jpg ( 44 KB | 270 Downloads )

Title: Re: time interval
Post by Meppy on Aug 30th, 2017 at 12:45pm
Hi,

Try settings the Calendar.TimetableSettings.TimelineStyle.HeaderTextAlignment property:

[code]calendar.getTimetableSettings().getTimelineStyle().setHeaderTextAlignment(EnumSet.of(TextAlignment.TopCenter));[/code]
Regards,
Meppy

Title: Re: time interval
Post by Ionut Murarasu on Aug 30th, 2017 at 2:57pm
Thanks !
Very useful !

The MindFusion Forums » Powered by YaBB 2.6.11!
YaBB Forum Software © 2000-2024. All Rights Reserved.