Permalink
Browse files

Tiny bit of comments

  • Loading branch information...
1 parent 9a612ec commit 0778f1abb31b519139e900ea1c2ed4d477f77ad2 @alexzielenski committed Nov 15, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 ScrollToRefresh/src/EQSTRScrollView.m
@@ -90,9 +90,9 @@ - (void)createHeaderView {
refreshSpinner.indeterminate=YES;
// set autoresizing masks
- refreshSpinner.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin;
- refreshArrow.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin;
- refreshHeader.autoresizingMask = NSViewWidthSizable | NSViewMinXMargin | NSViewMinYMargin | NSViewMaxXMargin;
+ refreshSpinner.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin; // center
+ refreshArrow.autoresizingMask = NSViewMinXMargin | NSViewMaxXMargin | NSViewMinYMargin | NSViewMaxYMargin; // center
+ refreshHeader.autoresizingMask = NSViewWidthSizable | NSViewMinXMargin | NSViewMinYMargin | NSViewMaxXMargin; // stretch
[refreshHeader addSubview:refreshArrow];
[refreshHeader addSubview:refreshSpinner];

0 comments on commit 0778f1a

Please sign in to comment.