Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder 2 Preview » View Thread |
Messages 11 to 17 of 17 total |
Layouts |
Tue, Jan 27 2015 11:34 AM | Permanent Link |
Matthew Jones | Tim Young [Elevate Software] wrote:
> Labels: Position=lpTopLeft, Stretch=lsNone, Consumption=lcRight, > Reset=False (and normally you would want to set their > Format.Alignment to caRight, and set their widths to be the same > width) > > Edits: Position=lpTopLeft, Stretch=lsRight, Consumption=lcBottom, > Reset=True Feel free to just say "you can't do that", but I was just playing with this, and I had two TPanels and the one on the left was deeper than the one on the right. They flow fine, but the third one, which is on the next "row" covers the bottom of the left hand panel above. I tried setting the consumption to right & bottom, but then the right hand panel goes to the bottom right corner. Obviously I could just keep them the right height, but is there a way to tell it to use the height of the largest item in the row as the new row's start height? One option would be a panel that adopted its children's size, but that adds complication in another direction. This new system is already lovely, particularly with the margins. In fact, I've found a "workaround" or perhaps solution to my question as I can just set the bottom margin of the end item to that of the row that I want. There is a heck of a lot of flexibility here, but I suspect that something like the old Windows SDK tab setting mode might be needed sometime, where you click on things in the order you want them laid out within a container, and it sorts the details for you. Matthew |
Tue, Jan 27 2015 12:09 PM | Permanent Link |
Mark Brooks Slikware | "Matthew Jones" wrote:
>>They flow fine I've been playing too, and the new layout capabilities are excellent. However, I am unable to get an "automatic" flow per se. Buy this I mean that an element will actually change its position based on the size of the parent, as opposed to just its size. Consider this: - I have two panels A and B inside a parent panel C. - Panel A is set to top-left with consumption to the right - Ditto panel B - The end result is that B sits to the right of A - When I shrink the width of the parent I would like B, at some point, to jump below A This scenario is truly responsive but, I think, requires me to trap the parent resize and check if it's below a certain width. If so then I guess that I need to change the consumption for A somehow. Getting a bit lost at this point. Anyway - you get the idea - I hope! Mark |
Tue, Jan 27 2015 4:27 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< This new system is already lovely, particularly with the margins. In fact, I've found a "workaround" or perhaps solution to my question as I can just set the bottom margin of the end item to that of the row that I want. >> That's your solution. Tim Young Elevate Software www.elevatesoft.com |
Tue, Jan 27 2015 4:42 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< I've been playing too, and the new layout capabilities are excellent. However, I am unable to get an "automatic" flow per se. >> Yeah, the layouts do not include any flowing changes at all at this point. IOW, the layout functionality does not distribute space evenly or "fit" controls into existing space on a "best fit" basis. Tim Young Elevate Software www.elevatesoft.com |
Tue, Jan 27 2015 4:54 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Here's a simple example of hand-coding a responsive layout using the layout
options. *Do not resize the form at design-time using the initial preview IDE*. There's a bug in the resize dispatching at design-time that is causing the code to blow up, so I need to fix that before you'll see a responsive flow at design-time. Tim Young Elevate Software www.elevatesoft.com Attachments: responsive.zip |
Thu, Jan 29 2015 4:08 AM | Permanent Link |
Mark Brooks Slikware | "Tim Young [Elevate Software]" wrote:
>>Here's a simple example of hand-coding a responsive layout using the layout >>options. >>*Do not resize the form at design-time using the initial preview IDE*. >>There's a bug in the resize dispatching at design-time that is causing the >>code to blow up, so I need to fix that before you'll see a responsive flow >>at design-time. Got it - thanks - this is feeling rather good so far ....... |
Thu, Jan 29 2015 6:02 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Mark,
<< Got it - thanks - this is feeling rather good so far ....... >> This bug was a stupid one, and I'm uploading a new build today that fixes this. It was actually the cause of the "value conversion" error documented in the release notes, and was caused by the design-time execution engine trying to execute event handlers *for the current form*. Duh ! They don't actually exist yet. Tim Young Elevate Software www.elevatesoft.com |
« Previous Page | Page 2 of 2 | |
Jump to Page: 1 2 |
This web page was last updated on Monday, May 6, 2024 at 03:23 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |