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
744c261a
Unverified
Commit
744c261a
authored
Nov 08, 2016
by
Daniel Dahan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
memory: updated Bar default contentViewAlignment to .any
parent
620fc2b8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
Sources/iOS/Bar.swift
+1
-1
Sources/iOS/Toolbar.swift
+1
-0
No files found.
Sources/iOS/Bar.swift
View file @
744c261a
...
@@ -47,7 +47,7 @@ open class Bar: View {
...
@@ -47,7 +47,7 @@ open class Bar: View {
}
}
/// Should center the contentView.
/// Should center the contentView.
open
var
contentViewAlignment
=
ContentViewAlignment
.
center
{
open
var
contentViewAlignment
=
ContentViewAlignment
.
any
{
didSet
{
didSet
{
layoutSubviews
()
layoutSubviews
()
}
}
...
...
Sources/iOS/Toolbar.swift
View file @
744c261a
...
@@ -149,6 +149,7 @@ open class Toolbar: Bar {
...
@@ -149,6 +149,7 @@ open class Toolbar: Bar {
open
override
func
prepare
()
{
open
override
func
prepare
()
{
super
.
prepare
()
super
.
prepare
()
zPosition
=
1000
zPosition
=
1000
contentViewAlignment
=
.
center
prepareTitleLabel
()
prepareTitleLabel
()
prepareDetailLabel
()
prepareDetailLabel
()
}
}
...
...
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