2 posts Page 1 of 1
Postby Yin Cognyto » 14 Jul 2018 23:16
Is it possible to vertically stretch a slider? For example, in the code below, where I want the slider to be 32px tall by using a stretched source image which is 16px tall:
Code: Select all
<Slider CmdID='CMD_TIMEBAR_CTRL' Height='32' ImageLeft='30' ImageTop='20' ImageWidth='20' ImageHeight='16'
LeftMargin='3' RightMargin='3' TopMargin='3' BottomMargin='3'
AltImageLeft='55' AltImageTop='20' BackImageLeft='80' BackImageTop='20'
ThumbImageLeft='105' ThumbImageTop='20' ThumbWidth='3' ThumbHeight='16'
RepeatImageWidth='3' RepeatImageHeight='16'
RepeatAImageLeft='180' RepeatAImageTop='20' RepeatBImageLeft='190' RepeatBImageTop='20'
BookmarkImageLeft='200' BookmarkImageTop='20' SeamlessImageLeft='210' SeamlessImageTop='20' />
, I've set TopMargin and BottomMargin to attempt vertical stretching from 16px to 32px, since horizontal stretching works well with LeftMargin and RightMargin, but for some reason it doesn't stretch vertically.

So, is it possible (and if so, how), or do I have to edit the png to make the slider's source image taller from the start?
Postby D2NP » 16 Jul 2018 23:09
it seems that this is not possible
2 posts Page 1 of 1

Login

Who is online

Users browsing this forum: No registered users and 1 guest