Commit 35de162b by Daniel Dahan

updating NavigationItem

parent e577cfa3
...@@ -37,7 +37,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate { ...@@ -37,7 +37,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow? var window: UIWindow?
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
let navigationController: AppNavigationController = AppNavigationController(rootViewController: RecipesViewController()) let navigationController: AppNavigationController = AppNavigationController(rootViewController: RecipesViewController())
let menuViewController: AppMenuViewController = AppMenuViewController(rootViewController: navigationController) let menuViewController: AppMenuViewController = AppMenuViewController(rootViewController: navigationController)
......
...@@ -65,14 +65,14 @@ public class MaterialAssociatedObjectNavigationItem { ...@@ -65,14 +65,14 @@ public class MaterialAssociatedObjectNavigationItem {
private func prepareTitleLabel() { private func prepareTitleLabel() {
titleLabel = UILabel() titleLabel = UILabel()
titleLabel.font = RobotoFont.mediumWithSize(17) titleLabel.font = RobotoFont.mediumWithSize(17)
titleLabel.textAlignment = .Left titleLabel.textAlignment = .Center
} }
/// Prepares the detailLabel. /// Prepares the detailLabel.
private func prepareDetailLabel() { private func prepareDetailLabel() {
detailLabel = UILabel() detailLabel = UILabel()
detailLabel.font = RobotoFont.regularWithSize(12) detailLabel.font = RobotoFont.regularWithSize(12)
detailLabel.textAlignment = .Left detailLabel.textAlignment = .Center
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment