Permalink
Browse files

Fixing the position of the centering information.

  • Loading branch information...
1 parent 53801f9 commit b7e2bad1c5cef2e4a9bc794da908a3a3bd76c054 @kgn kgn committed Dec 19, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.md
View
@@ -47,12 +47,6 @@ NSButton *button = [[NSButton alloc] initWithFrame:buttonFrame];
[titleBarView addSubview:button];
```
-### Centering the traffic light and full screen buttons
-
-The vertical centering of the traffic light and full screen buttons can be controlled through two properties: `centerTrafficLightButtons` and `centerFullScreenButton`.
-
-The traffic light buttons are vertically centered by default.
-
**Interface Builder**
**NOTE:** Even though the content layout for the title bar can be done in Interface Builder, you still need to use the below code to display the view created in IB in the title bar.
@@ -64,6 +58,12 @@ self.titleView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
[self.window.titleBarView addSubview:self.titleView];
```
+### Centering the traffic light and full screen buttons
+
+The vertical centering of the traffic light and full screen buttons can be controlled through two properties: `centerTrafficLightButtons` and `centerFullScreenButton`.
+
+The traffic light buttons are vertically centered by default.
+
## Who am I?
I'm Indragie Karunaratne, a 16 year old Mac OS X and iOS Developer from Edmonton AB, Canada. Visit [my website](http://indragie.com) to check out my work, or to get in touch with me.

0 comments on commit b7e2bad

Please sign in to comment.