PDA

View Full Version : Alignment of the volume slider


Helge
01-11-2007, 02:33 AM
Hi, all! Greetings from Russia! Excuse for my English.
I want align volume slider relative center of panel in my skin. But HoriCenter property is not work from slider. What property I can use to solve this task.

z
01-11-2007, 12:53 PM
Hello, are you making a skin?

Refer to the attached skin.

[VolumeSlider1]
type=Slider
parent=BottomPanel
Slider1=SLIDER_VOLUME.BMP
Slider2=SLIDER_VOLUME.BMP
Thumb=SLIDER_VOLUME_KNOB.BMP
width=150
height=17
;left=-250
top=0
margin1=10
margin2=10
Command=SliderVolume

HoriCenter=1
; Place a button, slider or else in the center of skin.


HoriOffset=82
; Define relative offset from the center of skin. The value can be minus.

Helge
01-12-2007, 02:12 AM
Z, thank for your replay.
I run KMPlayer with attached skin. But slider is not align relative center in this skin too.
I use KMPlayer 2.9.2.1100. It not installed (I like KMPlayer because it play all without installation and without installed codecs). Maybe reason in this?

z
01-12-2007, 06:17 AM
I'forgot to mention that it needs the most recent version.

Helge
01-13-2007, 02:22 AM
Z, thank you very much!
I download latest version and slider is align.
I hope finish my skin soon.