Explorar o código

dropbox: improve icon drawing behavior

Felix Paul Kühne %!s(int64=12) %!d(string=hai) anos
pai
achega
043375b745
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.];