AIMP Forum

Разное => Архив / Archive => SkinEditor, SkinEngine (archive) => Тема начата: electro от Декабря 08, 2014, 21:46:28

Название: TrackPosition & TrackRemaining over a seekbar
Отправлено: electro от Декабря 08, 2014, 21:46:28
Hi. I need to display two fields (TrackPosition & TrackRemaining) over a seekbar. But, I want these two fields to not be clickable (instead the the click should work with the seekbar behind them).

Any solution (a template perhaps)?

Also I'd like to display TrackPosition & TrackRemaining without those zeroes in front of them.
Название: Re: TrackPosition & TrackRemaining over a seekbar
Отправлено: Artem от Декабря 08, 2014, 21:56:04
as I understand you mean text label under fields? You should setup hit-test for this elements (refer to the Skin property)
Название: Re: TrackPosition & TrackRemaining over a seekbar
Отправлено: electro от Декабря 08, 2014, 22:01:46
I meant that these should be just text labels. As they're now, when I click them they switch between them. I'd like to know a way to make these non-clickable and only the seekbar under them to be clickable.

(http://i.imgbox.com/F5n64nLv.png)
Название: Re: TrackPosition & TrackRemaining over a seekbar
Отправлено: electro от Декабря 08, 2014, 22:45:08
I managed to fix the problem. Thanks to that Hit-Test hint.

How to get rid of those 00? I'd like that time to be displayed as 15:23 for example, without any zero in front of it.
Название: Re: TrackPosition & TrackRemaining over a seekbar
Отправлено: Tarik от Декабря 08, 2014, 22:49:09
How to get rid of those 00? I'd like that time to be displayed as 15:23 for example, without any zero in front of it.
Please, refer to AIMP Skin Editor Help -> Skin Structure -> Controls -> Text Labels -> Example: Timer
Название: Re: TrackPosition & TrackRemaining over a seekbar
Отправлено: electro от Декабря 08, 2014, 23:06:13
Please, refer to AIMP Skin Editor Help -> Skin Structure -> Controls -> Text Labels -> Example: Timer
Cool, this is it. Thanks.