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
0943c501
Commit
0943c501
authored
Aug 11, 2013
by
Felix Paul Kühne
Browse files
UPNP File List: improve appearance
parent
3f379915
Changes
2
Hide whitespace changes
Inline
Side-by-side
AspenProject/VLCLocalServerFolderListViewController.m
View file @
0943c501
...
...
@@ -107,10 +107,13 @@
if
(
!
[
item
isContainer
])
{
MediaServer1ItemObject
*
mediaItem
=
_objectList
[
indexPath
.
row
];
[
cell
setSubtitle
:[
NSString
stringWithFormat
:
@"%
@"
,
mediaItem
.
size
]];
[
cell
setSubtitle
:
[
NSString
stringWithFormat
:
@"%
0.2f MB"
,
(
float
)([
mediaItem
.
size
intValue
]
/
1e6
)
]];
[
cell
setIsDirectory
:
NO
];
}
else
[
cell
setIcon
:[
UIImage
imageNamed
:
@"blank"
]];
}
else
{
[
cell
setIsDirectory
:
YES
];
[
cell
setIcon
:[
UIImage
imageNamed
:
@"folder"
]];
}
[
cell
setTitle
:[
item
title
]];
...
...
Resources/VLCLocalNetworkListCell~iphone.xib
View file @
0943c501
...
...
@@ -54,7 +54,7 @@
<object
class=
"IBUILabel"
id=
"207506414"
>
<reference
key=
"NSNextResponder"
ref=
"162418872"
/>
<int
key=
"NSvFlags"
>
290
</int>
<string
key=
"NSFrame"
>
{{45,
8
}, {270, 18}}
</string>
<string
key=
"NSFrame"
>
{{45,
7
}, {270, 18}}
</string>
<reference
key=
"NSSuperview"
ref=
"162418872"
/>
<reference
key=
"NSWindow"
/>
<reference
key=
"NSNextKeyView"
ref=
"816829197"
/>
...
...
@@ -106,7 +106,7 @@
<object
class=
"IBUILabel"
id=
"625431089"
>
<reference
key=
"NSNextResponder"
ref=
"162418872"
/>
<int
key=
"NSvFlags"
>
266
</int>
<string
key=
"NSFrame"
>
{{45, 2
5
}, {270, 15}}
</string>
<string
key=
"NSFrame"
>
{{45, 2
6
}, {270, 15}}
</string>
<reference
key=
"NSSuperview"
ref=
"162418872"
/>
<reference
key=
"NSWindow"
/>
<string
key=
"NSReuseIdentifierKey"
>
_NS:9
</string>
...
...
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