I am using full calendar in a new web app and have ran into a problem once we deployed. On the Agenda view with the all-day slot enabled the all-day slot expands as events are added. this did not present any issues during our initial test but we have ran into a problem with many events. The all-day slot continues to expand eventually making the agenda view disappear or be too small to be functional. Is there a work around to add a scroll bar to the all-day tab or set a min height for the agenda view? I have tried everything I can think of and have been unable to get anything to work. Please see attached screen shot from the calendar test files.
While you can restrict the size of the all day section my modifiying it's class. The events themselves are positioned by absolute x - y coordinates on the page and aren't actually inside the all day section at all, so scrolling that box would be pointless anyway.
I'd say without modifying the source considerably this is not possible.
I'm not sure what you mean by setting a min-height?
Related
So I am having this issue with using Google VR reticle where I cannot click a button. I have an image attached showing the heirarchy and the PlayButton is what I am trying to click. The Canvas has a Graphic Raycaster, the button has an Event Trigger that calls the method to navigate to the next scene. The UpScrollPanel, and DownScrollPanel work just fine. The EventSystem has the Gaze Input Module, as well as Event System, and Touch Input Module.
Any ideas on how to get this working? I have watched a few videos from NurFACEGAMES and while they helped a little, I haven't gotten the click to work yet.
Oh, and I am using Unity 5.3.4f
Sometimes things can get in the way of the button, make sure that no other UI elements overlap it, for example text borders (which are actually larger than they appear). You can also fix this by moving the button up the hierarchy among its siblings, I believe the first child is top.
Also try moving the button up the hierarchy if possible, sometimes UI having certain parents makes them not work
The canvas object should have a graphic raycaster
I found the issue to be unrelated to anything I thought it was. The menu I was using is a prefab I also use in another view that isn't VR. The scrollrect was loading that prefab, instead of the modified one I was using in the VR menu, and therefore the triggers I had added to the button were no being used when the app loaded.
Is it possible to show the events one below the other like the image?i want view week with events vertical order
sorry my English is not perfet
No, it is not possible without editing the source code of fullcalendar.
The best you can do is set eventOverlap: false so that users at least cannot drag and drop the events to have the same time.
You can also try fullcalendar's scheduler plugin which will do almost the same. Search the documentation for vertical resources layout.
I want to make three changes to the fullcalendar Agenda view.
Remove start time from events, essentially I just want to display the title in each slot.
Change the height of timeslots, I have tried adjusting the contentHeight but that had no apparent effect.
Show 30min slots on Y-axis, I know about axisFormat option but it still only displays the full hours.
If anyone can give me any suggestions on how to accomplish these 3 changes?
Fullcalendar have rich callback set to configure:
You should use eventRender to modify it (hide title in already constructed is best way of it). Do not try construct new element and replace original
The same eventRender where you can add CSS or class and then change per event or direct from CSS
Agenda view does not have time slots at all, it is time-ordered list which does not represent proportion of time-lenght between events. If you wan't time based view, then try singe day view and set slotDuration as close as you want, even on the fly with buttons or keybind. + when setting slotDuration, if you wan't support adding events, change also snapDuration
I have added a hack/add-on to allow me to limit the number of events which can appear on the Full Calendar plugin. This is where I have got the code from. https://github.com/lyconic/fullcalendar/tree/view-more
However, whenever I change the month or day the view more button moves and is hidden behind an event. Its really annoying and I don't know how to fix it.
Any advice?
I have a bit of doubt regarding my application which is being created using Mate framework. The first thing user has to do is to log in, so I created Login.mxml view. After a successful login I need to display the main view with applicationControlBar at the top and a workspace below. At the moment I have two separate views, so if I understand correctly it makes sense using ViewStack.
Thing is, I'd like also to display some kind of panel with buttons on top of the workspace after login - here is screenshot. After clicking on a button the panel should dissapear. To complicate things a little bit more, there is a possibility for this panel to change state. Clicking on a specific button may result in showing progress bar at the bottom of panel.
I feel I should create separate view, MenuDialog.mxml and put there buttons, progress bar and states, but how to display it on the top of the workspace? I hope my problem is clear enough :)
I would make the panel a popUp, with the main application (or the ViewStack's parent container) as the parent of the popUp. You can use the PopUpManager Class to close it based on user actions within the Panel.
Assuming that perhaps you do not want a modal login style panel (which many apps these days eschew) then you should absolutely use states rather than ViewStacks.
States are a much cleaner way to distinguish the various, uh, states that your UI can be in -LOGGED_IN, LOGGED_OUT, etc.
It may take a little to get used to working with states, but once you do, you'll never go back. :-)