Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
Material
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitriy Stepanets
Material
Commits
4129092d
Commit
4129092d
authored
Mar 07, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated sizing for NavigationBar titleView
parent
7ddb1213
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Examples/Programmatic/App/App/FeedViewController.swift
+3
-3
Examples/Programmatic/App/App/InboxViewController.swift
+1
-1
Examples/Programmatic/App/App/MessagesViewController.swift
+1
-1
No files found.
Examples/Programmatic/App/App/FeedViewController.swift
View file @
4129092d
...
...
@@ -61,7 +61,7 @@ class FeedViewController: UIViewController {
/// Handler for menuButton.
internal
func
handleMenuButton
()
{
//
sideNavigationViewController?.toggleLeftView()
sideNavigationViewController
?
.
toggleLeftView
()
}
/// Handler for searchButton.
...
...
@@ -74,12 +74,12 @@ class FeedViewController: UIViewController {
view
.
backgroundColor
=
MaterialColor
.
grey
.
lighten4
let
titleLabel
:
UILabel
=
UILabel
()
titleLabel
.
text
=
"Material
yyppgg
"
titleLabel
.
text
=
"Material"
titleLabel
.
textAlignment
=
.
Left
titleLabel
.
textColor
=
MaterialColor
.
white
let
detailLabel
:
UILabel
=
UILabel
()
detailLabel
.
text
=
"Build Beautiful Software
yyppgg
"
detailLabel
.
text
=
"Build Beautiful Software"
detailLabel
.
textAlignment
=
.
Left
detailLabel
.
textColor
=
MaterialColor
.
white
...
...
Examples/Programmatic/App/App/InboxViewController.swift
View file @
4129092d
...
...
@@ -158,7 +158,7 @@ extension InboxViewController: UITableViewDataSource {
header
.
addSubview
(
label
)
label
.
translatesAutoresizingMaskIntoConstraints
=
false
MaterialLayout
.
alignToParent
(
header
,
child
:
label
,
left
:
navigationController
!.
navigationBar
.
contentInset
.
left
)
MaterialLayout
.
alignToParent
(
header
,
child
:
label
,
left
:
24
)
return
header
}
...
...
Examples/Programmatic/App/App/MessagesViewController.swift
View file @
4129092d
...
...
@@ -156,7 +156,7 @@ extension MessagesViewController: UITableViewDataSource {
header
.
addSubview
(
label
)
label
.
translatesAutoresizingMaskIntoConstraints
=
false
MaterialLayout
.
alignToParent
(
header
,
child
:
label
,
left
:
navigationController
!.
navigationBar
.
contentInset
.
left
)
MaterialLayout
.
alignToParent
(
header
,
child
:
label
,
left
:
24
)
return
header
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment