Results 1 to 5 of 5

Thread: Grid layouts in Lianja 3.1

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,359
    Blog Entries
    22

    Grid layouts in Lianja 3.1

    Building a responsive UI that can adjust to various form factors is quite straightforward in Lianja.

    To further improve UI layouts "Grid" layouts have been added to Lianja Custom Containers in Lianja 3.1.

    This new grid layout works in Desktop, Web and Mobile.

    Bear in mind that containers can be nested and each container can have its own layout.

    Here are a few screenshots of an example I have put together. It is written in JavaScript but the Lianja/VFP code is the same except for the ; at the end of the lines.

    The code for the custom section.

    Name:  Screen Shot 2016-09-29 at 12.12.11 PM.jpg
Views: 434
Size:  88.1 KB

    The rendering of the layout in a Desktop App.

    Name:  Screen Shot 2016-09-29 at 12.11.56 PM.jpg
Views: 578
Size:  86.5 KB

    And finally the rendering in a Phone App.

    Name:  Screen Shot 2016-09-29 at 12.12.33 PM.jpg
Views: 566
Size:  83.8 KB

    As I progress with Lianja 4.0 there will be enhancements made to Form sections that allow then to be laid out more effectively with a grid coordinate scheme based on Grid Layouts -- all developed with NoCode -- accomplished by customizing the attributes.
    Last edited by barrymavin; 2016-12-17 at 19:49.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    Very very nice...
    now I have to think about where that I can be useful ..

    In the container there is a chance to "scroll" it?

    thanks
    Fabio

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,359
    Blog Entries
    22
    Hi Fabio

    The grid layout fits cells into the geometry of the container.

    Containers are not scrollable.

    In my opinion, It is a better UI design to split forms into tabs like a wizard does.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  4. #4
    Senior Member
    Join Date
    Feb 2012
    Location
    Rome - Italy
    Posts
    1,893
    Yes Barry, I agree, but sometime the number of object inside a container is not prevedible..

    thanks for all
    Fabio

  5. #5
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,359
    Blog Entries
    22
    You need to use a combination of "horizontal" layouts that contain "vertical" layouts as columns. Then as you add UI controls they can flow over to the next column. That's just a coding issue you have to work through.

    "grid" layouts are responsive.

    Just to clarify, you have several layouts on a container.

    Horizontal
    Vertical
    Form
    Grid

    They can be nested.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us