Skip to content
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 set the popover as scrollable #3

Closed
sai487 opened this issue Aug 13, 2016 · 7 comments
Closed

how to set the popover as scrollable #3

sai487 opened this issue Aug 13, 2016 · 7 comments

Comments

@sai487
Copy link

sai487 commented Aug 13, 2016

if we are having the more amount of data, then how to set the static size data to scrollable dat.

@liufengting
Copy link
Owner

liufengting commented Aug 13, 2016

There are two lines of code you need to change as follows. I hope it solves the problem.

line 103: _menuTableView.scrollEnabled = NO;
->
_menuTableView.scrollEnabled = YES;

line 424: CGFloat menuHeight = FTDefaultMenuRowHeight * self.menuArray.count + FTDefaultMenuArrowHeight;
->
CGFloat menuHeight = FTDefaultMenuRowHeight * A + FTDefaultMenuArrowHeight;// A is how many cells you wanna show at the first time, or maybe you wanna some certain height.

@liufengting
Copy link
Owner

liufengting commented Aug 15, 2016

check out the newest change at https://github.com/liufengting/FTPopOverMenu/blob/master/CHANGELOG.md

I have added this feature.

@sai487
Copy link
Author

sai487 commented Aug 16, 2016

Thank You, for sending me the reply to the doubt I sent to you.

On Mon, Aug 15, 2016 at 9:38 AM, Liu Fengting notifications@github.com
wrote:

check out the newest change at https://github.com/
liufengting/FTPopOverMenu/blob/master/CHANGELOG.md

I have added this feathure.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT7eqrpI7WYCB4n1Y2751YEQIhBRky2jks5qf-ZOgaJpZM4JjpV2
.

from Sai Krishna

@sai487
Copy link
Author

sai487 commented Aug 16, 2016

Once again thank you for the last reply
And how to set the PopOver size according to the data content in the array.
In the last reply, you said that, "A" is how many cells Or Row height.
But how I change it(PopOver) to dynamic,according to the data.
Thank You

On Tue, Aug 16, 2016 at 10:18 AM, sai krishna <
saikrishna.tadavarthy@gmail.com> wrote:

Thank You, for sending me the reply to the doubt I sent to you.

On Mon, Aug 15, 2016 at 9:38 AM, Liu Fengting notifications@github.com
wrote:

check out the newest change at https://github.com/liufengting
/FTPopOverMenu/blob/master/CHANGELOG.md

I have added this feathure.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT7eqrpI7WYCB4n1Y2751YEQIhBRky2jks5qf-ZOgaJpZM4JjpV2
.

from Sai Krishna

from Sai Krishna

@liufengting
Copy link
Owner

yesterday,I add scrollable feature, check out the latest code
I hope it solves your problem

@sai487
Copy link
Author

sai487 commented Aug 16, 2016

yeah,
It's working good.

On Tue, Aug 16, 2016 at 11:31 AM, Liu Fengting notifications@github.com
wrote:

yesterday,I add scrollable feature, check out the latest code
I hope it solves your problem


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT7eqth9el8CD1MeIMl81VT0nbEtnzozks5qgVIdgaJpZM4JjpV2
.

from Sai Krishna

@liufengting
Copy link
Owner

Thanks for this great suggestion. If you have any more questions, I'm here : )

DmitryKuchin added a commit to DmitryKuchin/FTPopOverMenu that referenced this issue Jul 12, 2019
DmitryKuchin added a commit to DmitryKuchin/FTPopOverMenu that referenced this issue Jul 12, 2019
This reverts commit cdee3a2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants