ASProgressPopUpView icon indicating copy to clipboard operation
ASProgressPopUpView copied to clipboard

Tooltip below the progress bar

Open thiagoalvsantos opened this issue 10 years ago • 8 comments

Would set the tooltip to be displayed below the progress bar?

thiagoalvsantos avatar Jun 11 '14 17:06 thiagoalvsantos

Hi @thiagoalvsantos I'll take a look into this when I get time. It shouldn't be too difficult to implement. By the way I noticed that you forked the repro - the latest code is on the 'popup_size' branch which I plan to merge into master in the next few days. If you plan to make changes it might be best to base them on that branch. Al

alskipp avatar Jun 11 '14 20:06 alskipp

+1 to bellow progress bar

dogo avatar Oct 15 '14 20:10 dogo

+1

falaix avatar Nov 16 '14 12:11 falaix

:+1: what a great progress bar control ! .. thank you .. would be great if you can consider adding the option to make the popup appear below the bar instead of above it .. Thanks

mzekrallah avatar Apr 20 '15 05:04 mzekrallah

@alskipp I appreciate your component and your time but I know you may not be able to fulfill every request .. could you please give me a hint about the functions or places that would have to be changed to get the popup to appear below the progress bar ? my initial guess is the 'SetFrame' method but when I played with that, it changes the origin of the popup when it animates but it still appears above the progress bar .. so that's why I'm asking for any hints .. appreciate your response .. Thanks

mzekrallah avatar Apr 26 '15 14:04 mzekrallah

Hi @mzekrallah, If you take a look at this hacky version I posted for ASValueTrackingSlider, it should give you an idea of what things need to be adapted:

https://github.com/alskipp/ASValueTrackingSlider/issues/4

It doesn't attempt to create a reasonable API to control the positioning, it just hard codes the layout.

alskipp avatar Apr 28 '15 16:04 alskipp

One thing that's easy to miss is setting the layer anchor point inside ASPopUpView. I think the value would need to be as follows: self.layer.anchorPoint = CGPointMake(0.5, 0);

alskipp avatar Apr 28 '15 16:04 alskipp

Thanks bro .. unfortunately, I couldn't get the hang of it since there are many differences in the code base for the new branch "uiview_subclass" and the ASValueTrackingSlider changes I saw in the above link .. I will try again but it would be great if this is use case is built in the progress bar since it has a much better use case the ASValueTracking as I read your notes above (the user finger would block the popup view and it won't be readable) however, the use case for the progress bar is much better since the progress shows without user intervention.. Thanks again ..

mzekrallah avatar May 04 '15 09:05 mzekrallah