Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 6 of 6 total |
TImage |
Thu, Aug 27 2015 12:48 PM | Permanent Link |
Nils Sorensen | Hi
Maybe I'm a litle too tired tonight, but how do you enable the old strech property of TImage ? Nils |
Thu, Aug 27 2015 12:56 PM | Permanent Link |
Mark Brooks Slikware | >>Nils Sorensen wrote:
>>Maybe I'm a litle too tired tonight, but >>how do you enable the old strech property of TImage ? >>Nils Not in the office right now, but from memory checkout ContentLayout-> Size or thereabouts? |
Thu, Aug 27 2015 1:32 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Nils
<< Maybe I'm a litle too tired tonight, but how do you enable the old strech property of TImage ? >> It depends upon what kind of stretch you want. If you want a proportional stretch, then select a ContentLayout.Size setting of csCover. If you want a basic stretch, then set the ContentLayout.Size property to csSpecified, and then set the ContentLayout.Width and ContentLayout.Hheight so that they equal the Width and Height of the control. Tim Young Elevate Software www.elevatesoft.com |
Thu, Aug 27 2015 3:14 PM | Permanent Link |
Nils Sorensen | Tim Young [Elevate Software] wrote:
Nils << Maybe I'm a litle too tired tonight, but how do you enable the old strech property of TImage ? >> It depends upon what kind of stretch you want. If you want a proportional stretch, then select a ContentLayout.Size setting of csCover. If you want a basic stretch, then set the ContentLayout.Size property to csSpecified, and then set the ContentLayout.Width and ContentLayout.Hheight so that they equal the Width and Height of the control. Tim Young Elevate Software www.elevatesoft.com Many thanks to both of you. I got it working OK now. Guess I just made it to comlicated. |
Sun, Aug 30 2015 11:20 AM | Permanent Link |
Uli Becker | Tim,
> If you want a basic stretch, then set the ContentLayout.Size property to csSpecified, and then set the ContentLayout.Width and ContentLayout.Hheight so that they equal the Width and Height of the control. Would it then be possible to add an additional property Content.Size.Fill e.g., that stretches the content of an image regardless of the proportions? That would save a lot of code, when you create a number of images at runtime and these are resized later. Thanks Uli |
Mon, Aug 31 2015 9:26 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Uli,
<< Would it then be possible to add an additional property Content.Size.Fill e.g., that stretches the content of an image regardless of the proportions? >> Anything is possible, but I'll have to think about this one. I'm trying to keep the options the same for both the background images and the normal images, in order to avoid confusion/questions, and I don't have control over how the background image stretches occur at runtime. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Friday, March 29, 2024 at 03:30 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |