Skip to content

Commit

Permalink
small label adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Messina committed Jun 1, 2012
1 parent d3a9584 commit b98e2cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions XBMC Remote/WebViewController.m
Expand Up @@ -77,7 +77,7 @@ - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
//show error alert, etc.
}
UIAlertView *errorAlert = [[UIAlertView alloc]
initWithTitle:@"Errore caricamento pagina"
initWithTitle:@"Error loading page"
message: [error localizedFailureReason]
delegate:nil
cancelButtonTitle:@"OK"
Expand Down Expand Up @@ -111,7 +111,6 @@ -(IBAction)TwitterWebActionButton:(id)sender{

- (void)viewDidLoad{
[super viewDidLoad];
UIColor *shadowColor = [[UIColor alloc] initWithRed:0.0 green:0.0 blue:0.0 alpha:0.5];
UIView *titleView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 244, 44)];
titleView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
topNavigationLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 2, 244, 40)];
Expand All @@ -124,7 +123,6 @@ - (void)viewDidLoad{
topNavigationLabel.adjustsFontSizeToFitWidth = YES;
topNavigationLabel.textAlignment = UITextAlignmentLeft;
topNavigationLabel.textColor = [UIColor whiteColor];
topNavigationLabel.shadowColor = shadowColor;
topNavigationLabel.shadowOffset = CGSizeMake (0.0, -1.0);
topNavigationLabel.highlightedTextColor = [UIColor blackColor];
topNavigationLabel.opaque=YES;
Expand Down
10 changes: 5 additions & 5 deletions XBMC Remote/WebViewController.xib
Expand Up @@ -66,7 +66,6 @@
<string key="NSReuseIdentifierKey">_NS:9</string>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<int key="IBUIBarStyle">2</int>
<array class="NSMutableArray" key="IBUIItems">
<object class="IBUIBarButtonItem" id="818924191">
<bool key="IBUIEnabled">NO</bool>
Expand Down Expand Up @@ -103,6 +102,10 @@
<int key="IBUISystemItemIdentifier">9</int>
</object>
</array>
<object class="NSColor" key="IBUITintColor" id="437093522">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
</object>
<object class="IBUIWebView" id="185201907">
<reference key="NSNextResponder" ref="191373211"/>
Expand All @@ -112,10 +115,7 @@
<reference key="NSWindow"/>
<reference key="NSNextKeyView" ref="492035886"/>
<string key="NSReuseIdentifierKey">_NS:9</string>
<object class="NSColor" key="IBUIBackgroundColor" id="437093522">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
<reference key="IBUIBackgroundColor" ref="437093522"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIScalesPageToFit">YES</bool>
<int key="IBUIDataDetectorTypes">1</int>
Expand Down

0 comments on commit b98e2cc

Please sign in to comment.