|
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Too many categories crowded together
| Author |
Message |
|
lschiano
Joined: Tue Jul 27, 2010 2:59 am Posts: 5
|
 Too many categories crowded together
I have many category sub rows horizontally, and time span is vertically. The view is a day. The more categories I add, the more crowded they are together, and the smaller they appear horizontally. Can the calendar create a horizontal scroll bar so the categories are not squeezed together? I'm using JavaBeans to create the calendar.
|
| Tue Jul 27, 2010 3:09 am |
|
 |
|
MiG Support
Site Admin
Joined: Mon Dec 06, 2004 3:24 pm Posts: 2211 Location: Sweden
|
 Re: Too many categories crowded together
Hello,
Please submit a support ticket. And we probably need a screen shot as well.
Thanks,
_________________ Support MiG InfoCom AB
|
| Tue Jul 27, 2010 10:05 am |
|
 |
|
lschiano
Joined: Tue Jul 27, 2010 2:59 am Posts: 5
|
 Re: Too many categories crowded together
Hi,
I tried to register to open a ticket, but I don't get the confirmation email. I tried twice with 2 different emails with no luck.
|
| Tue Jul 27, 2010 4:42 pm |
|
 |
|
MiG Support
Site Admin
Joined: Mon Dec 06, 2004 3:24 pm Posts: 2211 Location: Sweden
|
 Re: Too many categories crowded together
OK, I'll see what's wrong. We have had problems with the mail proxy at the support site.
Stay tuned.
Thanks,
_________________ Support MiG InfoCom AB
|
| Tue Jul 27, 2010 4:44 pm |
|
 |
|
MiG Support
Site Admin
Joined: Mon Dec 06, 2004 3:24 pm Posts: 2211 Location: Sweden
|
 Re: Too many categories crowded together
Try now.
_________________ Support MiG InfoCom AB
|
| Tue Jul 27, 2010 4:59 pm |
|
 |
|
lschiano
Joined: Tue Jul 27, 2010 2:59 am Posts: 5
|
 Re: Too many categories crowded together
Hi, I entered a ticket but I don't think we have a support contract. I did not get any response the ticket. I'm under a deadline and just need to know if there is a simple way to set the minimum width of category subrows. I'm attaching a screen shot that shows 4 categories for each day squeezed together. I need a horizontal scroll bar.
Attachments:
ScreenShot001.jpg [ 84.34 KiB | Viewed 23 times ]
|
| Fri Jul 30, 2010 2:40 pm |
|
 |
|
lschiano
Joined: Tue Jul 27, 2010 2:59 am Posts: 5
|
 Re: Too many categories crowded together
I figured it out. Just in case someone runs into the problem here's the solution:
/* * this code resizes the category subrows so they are not squeezed together * */ int numEntities = calendars.size(); //get number of practitioners, mig calles these subrows catagories int width = dayDateArea.getDateArea().getWidth(); float f = width/numEntities;
//try make entities fit in window, but minimum size is 200 px if(f < 200) f = 200; af = new AtFixed(f); dayDateArea.getDateArea().setGridLayoutProvider(new CalendarScreenLayoutProvider()); //*lstemp . . . private class CalendarScreenLayoutProvider implements GridLayoutProvider {
public GridDimensionLayout createLayout(Grid grid, int dimIx) {
GridRowLayout subGridRowLayout = new DefaultGridRowLayout(true, af, af, af);
AtFixed min = dimIx == Grid.PRIMARY_DIMENSION ? new AtFixed(20.0f) : null; AtFixed pref = dimIx == Grid.PRIMARY_DIMENSION ? new AtFixed(20.0f) : null; GridSegment gs = new GridSegment(grid.getCellCount(dimIx), min, pref, null);
return new DefaultGridDimensionLayout(dimIx, new GridSegmentSpec(gs), subGridRowLayout, false); } }
|
| Mon Aug 02, 2010 2:40 pm |
|
|
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|