Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
Problem Set Responsive Layout |
Tue, Mar 29 2016 3:57 AM | Permanent Link |
Pasquale Web Pos srl | I can not set the right values ​​for a correct visualization of the site RESPONSIVE .
----- HOMEFORM----------------------------------------------------------------------------------------- | | | |--------------------------------------------------------------| |--------------------------| | | |form1 | | form2 | | | |_____________________________________| |________________| | | | | | | form1 you have to stretch to the right taking into account the presence of | | form2 , but the HOMEFORM resized HORIZZONTAL then form1 you must | | restrict while form2 you have the move left . When form1 reaches the min | | width the form2 he has to go under and stretch right AND form1 stretch right | | | | | | |
Tue, Mar 29 2016 4:07 AM | Permanent Link |
Matthew Jones | Pasquale wrote:
> I can not set the right values ​​for a correct > visualization of the site RESPONSIVE . Hmm, not sure if this is possible - I think I'd be looking at the minimum constraints of form1 to find a way. But sometimes it is actually just simpler to use the OnSize event for the form and determine the rule for yourself. It worked very well for me in EWBv1, and I've used it sparingly in v2 to choose to tweak things for perfection on edge cases. A simple "if homeform.width < (form2.width + 100) then form1.layoutmode := consumebottom else consumeRight" would do the trick. (Pseudocode!) -- Matthew Jones |
Tue, Mar 29 2016 4:50 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Pasquale,
<< I can not set the right values ​​for a correct visualization of the site RESPONSIVE . >> It sounds like you want something similar to what is in the responsive example project: http://www.elevatesoft.com:8081/responsive/responsive.html with the orange block. The key is to use the constraints along with the stretching/overflow to determine how wide or narrow a particular control can be. Basically, the stretching is done first (with the constraints), followed by the overflow calculations. Tim Young Elevate Software www.elevatesoft.com |
Sun, Apr 3 2016 5:30 AM | Permanent Link |
Pasquale Web Pos srl | no
the green box It must stretch to its maximum length set . The orange box It must have its minimum width. when the browser shrinks the green box you must restrict and the orange box it must have its minimum width. when the green box It reaches its minimum width then the orange box He has to go under and widen . Tim Young [Elevate Software] wrote: Pasquale, << I can not set the right values ​​for a correct visualization of the site RESPONSIVE . >> It sounds like you want something similar to what is in the responsive example project: http://www.elevatesoft.com:8081/responsive/responsive.html with the orange block. The key is to use the constraints along with the stretching/overflow to determine how wide or narrow a particular control can be. Basically, the stretching is done first (with the constraints), followed by the overflow calculations. Tim Young Elevate Software www.elevatesoft.com |
Tue, Apr 5 2016 7:47 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Pasquale,
<< no >> I said "similar", not exactly the same. You really can't do what you're describing exactly with just the layout properties - you can't have two UI elements both set to stretch towards the same direction at the same time and have both magically know how wide they should be based upon their relationship to each other. You'll probably need to adjust your design to accommodate that fact. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, May 5, 2024 at 07:30 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |