Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tiny bit of comments

  • Loading branch information...
commit 0778f1abb31b519139e900ea1c2ed4d477f77ad2 1 parent 9a612ec
@alexzielenski authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 ScrollToRefresh/src/EQSTRScrollView.m
View
6 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];
Please sign in to comment.
Something went wrong with that request. Please try again.