![]() |
Page boundary clipping...how?
So I'm working on a theory that requires 5 elements to be half on, half off the page, and that the page only display the on-page portions of these elements. I thought anything outside of the page/parent-page would automatically be cropped, but this seems not to be the case. I tried using the ClipToPage="true" argument, but that turned off the display of everything in the page—clearly this isn't what I was shooting for. Anyone got any suggestions?
|
Mind posting at least a snippet of the XML you're working with? I've used page objects successfully to crop stuff (well, so have a lot of people; most experience bar mods use page cropping).
Quib |
Hmm... You're trying to crop a Progressbar, right? I notice that those don't actually crop when I mess with a window size in UIBuilder. If that is what you're trying to do, you may have to make an image and use alpha settings to make parts of the bar invisible.
|
Ah crud. I was afraid of that. The problem is, that'll make the window about 3x the height it needs to be and 4x the width. *sigh* The weird thing is, I swear when I was working on my 2x implied target window I accidentally left the health and power progressbars the same from the 4x target window and they cropped...but maybe I'm just smoking crack and they didn't. *sigh again*
|
Hm...wait, I just reread what you said. You mean make a new progress style for each bar and have part of the source image transparent? Now that could work. I'll have to try it. :D
|
Deathbane27, you are as always a genius. Worked perfectly. I'll post the results of this little experiment...I think y'all might like it. :)
|
| All times are GMT -5. The time now is 10:12 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI