mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Fixed #772 (story traversal buttons misaligned)
This commit is contained in:
parent
ff42d673c2
commit
fbd8d62be1
1 changed files with 8 additions and 0 deletions
|
@ -230,6 +230,14 @@
|
||||||
|
|
||||||
- (void)viewDidAppear:(BOOL)animated {
|
- (void)viewDidAppear:(BOOL)animated {
|
||||||
[super viewDidAppear:animated];
|
[super viewDidAppear:animated];
|
||||||
|
|
||||||
|
// Fix the position and size; can probably remove this once all views use auto layout
|
||||||
|
CGRect viewFrame = self.view.frame;
|
||||||
|
CGSize superSize = self.view.superview.bounds.size;
|
||||||
|
|
||||||
|
if (viewFrame.size.height > superSize.height) {
|
||||||
|
self.view.frame = CGRectMake(viewFrame.origin.x, viewFrame.origin.y, viewFrame.size.width, superSize.height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
|
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
|
||||||
|
|
Loading…
Add table
Reference in a new issue