Description

Provides integration with RiverLayout.

Installation

The current version of griffon-riverlayout-plugin is 0.2
To install just issue the following command

griffon install-plugin riverlayout

Usage

The following nodes will become available on a View script upon installing this plugin

Node

Property

Type

Default

Required

Bindable

Notes

riverLayout
[RiverLayout]

 

 

 

(error)

(error)

Use it as with any other layout node

RiverLayout has the following keywords

Example

The following example is taken from Riverlayout's page

application(title: 'Griffon + RiverLayout',
  size: [480, 320],
  locationByPlatform:true,
  iconImage: imageIcon('/griffon-icon-48x48.png').image,
  iconImages: [imageIcon('/griffon-icon-48x48.png').image,
               imageIcon('/griffon-icon-32x32.png').image,
               imageIcon('/griffon-icon-16x16.png').image]) {
    riverLayout()
    label 'Registration Form', constraints: 'center'
    label 'Name', constraints: 'p left'
    textField constraints: 'tab hfill'
    label 'Age', constraints: 'br'
    textField columns: 3,  constraints: 'tab'
    label 'Comment', constraints: 'br vtop'
    scrollPane(constraints: 'tab hfill vfill') {
        textArea()
    }
    button 'Ok', constraints: 'p center'
}

History

Version

Date

Notes

0.2

02-10-11

Release sync with Griffon 0.9.2

0.1

07-27-10

first release