Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-iOS
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avi Wadhwa
VLC-iOS
Commits
b524edfb
Commit
b524edfb
authored
7 years ago
by
Soomin Lee
Committed by
Jean-Baptiste Kempf
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
iOS: Update constraints for progressLabel
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
b7aab9bb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/VLCProgressView.m
+1
-1
1 addition, 1 deletion
Sources/VLCProgressView.m
with
1 addition
and
1 deletion
Sources/VLCProgressView.m
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment