简体   繁体   中英

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.

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.

查看BWToolkit中Bottom Bars

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM