-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add separator lines between the dates #39
Comments
Horizontal line can be implemented as part of buttons background image. You need white rect with single top edge line. |
Hi, I tried like adding one view to that button as below. Now the problem is, the top border has to come like How do I know when to stop the border line ? so that it displays from 1st of every month and ends at last day of the month. Thanks in advance. |
You can just use UIButton's method |
So only current months tiles are in normal state. Next and prev month tiles are in disabled state. You should use |
Hi, I tried to set background image to the button as below. but the outcome is not as per expected.it's as follows. It has gaps between the dates.It must be because of the space between the buttons. So it will not help if I set nil image four disabled state. |
You can use your trick with thin subview.
Just in method
|
Hey where to add this - (void)setDisabled:(BOOL)disabled { Sorry for more questions. Because I tried to implement this, but couldn't understand exactly. Thanks in advance. |
Every tile in calendar is really UIControl subclass and setDisabled:YES is called automatically for days of prev and next month. You should override this method and call super method inside. |
Oh sorry, method name is |
It is at the end of this file: https://github.com/k06a/ABCalendarPicker/blob/master/ABCalendarPicker/UIMyButton.m |
You can not to use tagging at all if you have a property And use single backticks for source code on github and triple backticks for source code blocks :) |
Hey it didn't solve the issue. self.topBapView.hidden = !enabled;. doesn't help us. :( |
Hey found the trick. if (enabled) { Regards |
Hey , |
You can just increase font size |
Hi,
I customised calendar view as
But need to addd senator lines between the dates as showed below.
I have tried to get the info where to add the lines. But couldn't able to find it.
Can some one let me know the way to do that .
Thanks in advance.
The text was updated successfully, but these errors were encountered: