Skip to content

Commit

Permalink
fix a dialog display issue while loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Yujuan Bao committed Aug 9, 2010
1 parent 139baa1 commit 7c72a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FBDialog.m
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ - (id)init {
| UIViewAutoresizingFlexibleBottomMargin;
[self addSubview:_titleLabel];

_webView = [[UIWebView alloc] initWithFrame:CGRectZero];
_webView = [[UIWebView alloc] initWithFrame:CGRectMake(kPadding, kPadding, 480, 480)];
_webView.delegate = self;
_webView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self addSubview:_webView];
Expand Down

0 comments on commit 7c72a09

Please sign in to comment.