URL:
<http://savannah.gnu.org/bugs/?40761>
Summary: NSScroller -rectForPart: NSScrollerIncrementLine
returns zero
Project: GNUstep
Submitted by: Deek
Submitted on: Sat 30 Nov 2013 07:21:25 PM EST
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In multi-page mode, TextEdit sends [horizontalScroller rectForPart:
NSScrollerIncrementLine] to determine the height of the horizontal scroll bar,
for inserting an NSPopUpButton onto the end of it.
All is well, until/unless the window is wide enough that no scroll
buttons/thumb are needed, at which point the button disappears as well.
After some investigation, the reason is that the above call returns zero when
the scroller is not displaying its controls. On OpenStep, and most likely Mac
OS X, the rects do not change just because the controls are not being
displayed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40761>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep