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
e64b77c1
Commit
e64b77c1
authored
Jul 21, 2013
by
Sephiroth87
Committed by
Felix Paul Kühne
Jul 22, 2013
Browse files
Less ugly back button
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
3cde4906
Changes
1
Hide whitespace changes
Inline
Side-by-side
AspenProject/UIBarButtonItem+Theme.m
View file @
e64b77c1
...
...
@@ -34,13 +34,14 @@
style:
UIBarButtonItemStyleBordered
target:
target
action:
selector
];
[
backButton
setBackgroundImage
:[
UIImage
imageNamed
:
@"backButton"
]
[
backButton
setBackgroundImage
:[
[
UIImage
imageNamed
:
@"backButton"
]
resizableImageWithCapInsets
:
UIEdgeInsetsMake
(
0
,
12
,
0
,
6
)]
forState:
UIControlStateNormal
barMetrics:
UIBarMetricsDefault
];
[
backButton
setBackgroundImage
:[
UIImage
imageNamed
:
@"backButtonHighlight"
]
[
backButton
setBackgroundImage
:[
[
UIImage
imageNamed
:
@"backButtonHighlight"
]
resizableImageWithCapInsets
:
UIEdgeInsetsMake
(
0
,
12
,
0
,
6
)]
forState:
UIControlStateHighlighted
barMetrics:
UIBarMetricsDefault
];
[
backButton
setTitleTextAttributes
:@{
UITextAttributeTextShadowColor
:
[
UIColor
colorWithWhite
:
0
.
alpha
:.
37
],
UITextAttributeTextColor
:
[
UIColor
whiteColor
]}
forState
:
UIControlStateNormal
];
[
backButton
setTitlePositionAdjustment
:
UIOffsetMake
(
3
,
0
)
forBarMetrics
:
UIBarMetricsDefault
];
return
backButton
;
}
...
...
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