Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
910defd6
Commit
910defd6
authored
Aug 10, 2013
by
Felix Paul Kühne
Browse files
Server list: simplify title creation
parent
4927e0a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCLocalServerListViewController.m
View file @
910defd6
...
...
@@ -58,12 +58,7 @@
self
.
tableView
.
separatorColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
self
.
view
.
backgroundColor
=
[
UIColor
colorWithWhite
:.
122
alpha
:
1
.];
_titleLabel
=
[[
UILabel
alloc
]
initWithFrame
:
CGRectMake
(
0
.
0
,
11
.
0
f
,
self
.
navigationController
.
view
.
frame
.
size
.
width
,
21
.
0
f
)];
[
_titleLabel
setFont
:[
UIFont
fontWithName
:
@"Helvetica-Bold"
size
:
18
]];
[
_titleLabel
setBackgroundColor
:[
UIColor
clearColor
]];
[
_titleLabel
setTextColor
:[
UIColor
colorWithRed
:
255
.
0
green
:
255
.
0
blue
:
255
.
0
alpha
:
1
.
0
]];
[
_titleLabel
setText
:
@"Local Servers"
];
[
_titleLabel
setTextAlignment
:
UITextAlignmentCenter
];
self
.
title
=
@"Local Servers"
;
self
.
navigationItem
.
titleView
=
_titleLabel
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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