Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
b524edfb
Commit
b524edfb
authored
May 30, 2017
by
Soomin Lee
Committed by
Jean-Baptiste Kempf
Jun 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iOS: Update constraints for progressLabel
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b7aab9bb
Pipeline
#75
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Sources/VLCProgressView.m
Sources/VLCProgressView.m
+1
-1
No files found.
Sources/VLCProgressView.m
View file @
b524edfb
...
...
@@ -39,7 +39,7 @@
[
self
addConstraint
:[
NSLayoutConstraint
constraintWithItem
:
self
attribute
:
NSLayoutAttributeCenterX
relatedBy
:
NSLayoutRelationEqual
toItem
:
_progressLabel
attribute
:
NSLayoutAttributeCenterX
multiplier
:
1
.
0
f
constant
:
0
.
0
f
]];
[
self
addConstraints
:[
NSLayoutConstraint
constraintsWithVisualFormat
:
@"H:[_progressBar(200)]"
options
:
0
metrics
:
nil
views
:
NSDictionaryOfVariableBindings
(
_progressBar
)]];
[
self
addConstraint
:[
NSLayoutConstraint
constraintWithItem
:
self
.
progressBar
attribute
:
NSLayoutAttributeCenterX
relatedBy
:
NSLayoutRelationEqual
toItem
:
self
attribute
:
NSLayoutAttributeCenterX
multiplier
:
1
.
0
f
constant
:
0
.
0
f
]];
[
self
addConstraints
:[
NSLayoutConstraint
constraintsWithVisualFormat
:
@"V:|-[_progressBar]-[_progressLabel]-|"
options
:
0
metrics
:
nil
views
:
NSDictionaryOfVariableBindings
(
_progressBar
,
_progressLabel
)]];
[
self
addConstraints
:[
NSLayoutConstraint
constraintsWithVisualFormat
:
@"V:|-[_progressBar]-[_progressLabel
(8)
]-|"
options
:
0
metrics
:
nil
views
:
NSDictionaryOfVariableBindings
(
_progressBar
,
_progressLabel
)]];
}
-
(
void
)
updateTime
:(
NSString
*
)
time
...
...
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