You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the window containing the popover and the window is sized, it either forgets to take into consideration the border width, or to move the popover in the window accordingly. It's not a problem when the width is around one pixel, it get serious if you increase it a bit.
Basically, the arrow get truncated:
From the view debugger of Xcode 6, it seems there is room at the right of the popover, but it's not exploited.
The issue can be reproduce on the PopoverSampleApp simply with a border width of 3, get obvious around 5.
The text was updated successfully, but these errors were encountered:
Taiki-San
changed the title
Window doesn
Window doesn't consider border width
Jun 20, 2014
Commit submitted to fix the issue, basically, _popoverBezierPathWithRect: forgot to consider the width of the border when defining the area to draw, assuming 0. However, there is still some issues when the border is wider than the arrow, the window isn't big enough (try with 50). However, should impact much less people than this issue.
Worked on it since then, however, I still encounter issues at very high width (but at this point, the issue isn't blocking anymore). However, I'm still having issues resizing the internal view, could anyone help a bit on this part? So far, the patch is on the following repo: https://github.com/TaikiMMT/INPopoverController
When the window containing the popover and the window is sized, it either forgets to take into consideration the border width, or to move the popover in the window accordingly. It's not a problem when the width is around one pixel, it get serious if you increase it a bit.
Basically, the arrow get truncated:
From the view debugger of Xcode 6, it seems there is room at the right of the popover, but it's not exploited.
The issue can be reproduce on the PopoverSampleApp simply with a border width of 3, get obvious around 5.
The text was updated successfully, but these errors were encountered: