Hi folks,

I have a DataRepeater.ItemTemplate I have added some items too as shown in the first image. From the left of the template I have 5 labels then a progress bar, then a button.

Name:  DataRptr_ScrnSht.png
Views: 185
Size:  7.0 KB

The DataRepeater is anchored to all sides of the form so that it grows and shrinks with the form as it is resized.

The button on the ItemTemplate is docked right so that it stays at the right hand side of the template.

The ProgressBar is where my issue lies. If I anchor it it stays where it is in position in relation to the ItemTemplate which is correct - but I also would like it to strech as the ItemTemplate does BUT not collide with the button...

If I dock the ProgressBar to the right it moves right up against the right edge and the button gets pushed to the left of it, if I anchor it to the right as well as its current top and left, it stretches out to have its right edge constantly underneath the button...

Name:  DataRptr_ScrnSht2.png
Views: 170
Size:  4.4 KB

How can I get the progress bar to maintain position relative to the top left yet grow to the right - but not grow right to the edge of the containing template, only grow such that it has the same constant standoff from the right?

Thanks