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;
    }
  else
    {
      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:

  <http://savannah.gnu.org/bugs/?27636>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to