Browse Source

dropbox: improve icon drawing behavior

Felix Paul Kühne 12 years ago
parent
commit
043375b745
1 changed files with 1 additions and 0 deletions
  1. 1 0
      AspenProject/VLCDropboxTableViewController.m

+ 1 - 0
AspenProject/VLCDropboxTableViewController.m

@@ -59,6 +59,7 @@
     self.navigationItem.leftBarButtonItem = _backButton;
 
     self.navigationItem.titleView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"dropbox-white"]];
+    self.navigationItem.titleView.contentMode = UIViewContentModeScaleAspectFit;
 
     self.tableView.rowHeight = [VLCDropboxTableViewCell heightOfCell];
     self.tableView.separatorColor = [UIColor colorWithWhite:.2 alpha:1.];