Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do a bottom border like in finder?

I am trying to add a border att tha bottom of my textrured window with a sidebar. I would like to look exactly like in finder:

alt text http://jeenaparadies.net/t/s/finder-border.png

for now it looks like that:

alt text http://jeenaparadies.net/t/s/twittia-border.png

And I can't find anything in Interface Builder how I can add this border.

like image 494
Jeena Avatar asked Dec 30 '22 01:12

Jeena


1 Answers

You add that with NSWindow's setContentBorderThickness:forEdge:, passing NSMinYEdge for the edge. Note that this will only work if the window is not textured.

like image 93
smorgan Avatar answered Feb 07 '23 11:02

smorgan