瀏覽代碼

dropbox: improve icon drawing behavior

Felix Paul Kühne 12 年之前
父節點
當前提交
043375b745
共有 1 個文件被更改,包括 1 次插入0 次删除
  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.];