[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27636] Scrollbar a few pixel off on NSWindows95InterfaceStyle

From: Fred Kiefer
Subject: [bug #27636] Scrollbar a few pixel off on NSWindows95InterfaceStyle
Date: Sat, 07 Nov 2009 21:51:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv: Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14

Follow-up Comment #5, bug #27636 (project gnustep):

I checked this and the layout is the same for the cairo and the xlib backend.
Next I looked into the NSScroller code and there the difference is even
documented in a comment:

  /* We use the button offset if we in the NeXTstep interface style. */
  if (interfaceStyle == NSNextStepInterfaceStyle
      || interfaceStyle == NSMacintoshInterfaceStyle
      || interfaceStyle == GSWindowMakerInterfaceStyle)
      buttonsWidth = ([isa scrollerWidth] - buttonsOffset);
      x = y = 1.0;
      buttonsSize = 2 * buttonsWidth + 2;
      buttonsWidth = [isa scrollerWidth];
      x = y = 1.0;
      buttonsSize = 2 * buttonsWidth;

So I think this difference is there intentionally, or at least was so
originally. I could not drag down who added this code (SVN blames gives
Richard, but he may just have rearranged that method) perhaps somebody on this
list remembers the reason for this?

As for the vertical offset, I see the same on the screen shot with the
NSMacintoshInterfaceStyle. What is the difference I am missing?


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]