1px is not enough(bjango.com)

almost 6 years ago from Marc Edwards, Founder at Bjango

  • James LaneJames Lane, over 5 years ago

    I don't really know much about how things like the Finder window are created/built, but just thinking about that pixel thing.

    Could it be 1px because the window has to adapt to any width that the user defines? So it would have to be multiples of 1px?

    Or would it be a case of using something similar to 'overflow: hidden' on a 20px repeat background?

    1 point
    • Marc Edwards, over 5 years ago (edited over 5 years ago )

      It's definitely possible to use repeating centre slice sections of any width, and still support any width for the view. Apple did it with their Mavericks window titlebars (which repeats every 128 points), and they provide ways for developers to do it for buttons and other elements.

      I think it's either a mistake, or intentional for performance reasons.

      Or would it be a case of using something similar to 'overflow: hidden' on a 20px repeat background?

      Yep, exactly like that.

      1 point