projects
/
multipass-eu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ellipsize title part if necessary.
[multipass-eu.git]
/
src
/
playlist_item.rb
diff --git
a/src/playlist_item.rb
b/src/playlist_item.rb
index 3931a7a4685b7d1878509d197ec8af356991a49f..39e0de9f6a3abf890bdcad7a8ba81bdad47c8237 100644
(file)
--- a/
src/playlist_item.rb
+++ b/
src/playlist_item.rb
@@
-1,4
+1,4
@@
-# $Id: playlist_item.rb 1
1 2005-04-24 18:00:39
Z tilman $
+# $Id: playlist_item.rb 1
2 2005-04-24 19:51:18
Z tilman $
TEXT_COLOR_HILIGHT = "#f0fafd"
TEXT_COLOR_HILIGHT = "#f0fafd"
@@
-25,7
+25,18
@@
EDJE.collection("playlist_item") do |c|
end
["default", "selected"].each do |state|
end
["default", "selected"].each do |state|
+ c.part("title").description(state) do |d|
+ d.rel[1].set_to(c.part("length"), nil)
+ d.rel[1].set_rel(0.0, 1.0)
+
+ #d.rel[0].set_offset(0, 0)
+ d.rel[1].set_offset(5, 0)
+ end
+
c.part("length").description(state) do |d|
c.part("length").description(state) do |d|
+ d.rel[0].set_rel(1.0, 0.0)
+ d.rel[0].set_offset(-35, 0)
+
d.text = "04:11"
d.set_text_align(1.0)
end
d.text = "04:11"
d.set_text_align(1.0)
end