The One With New Features
JarekToro
released this
26 Oct 21:33
·
62 commits
to master
since this release
New APIs Added
Align Component inside a ResponsiveColumn
col.setAlignment(ColumnComponentAlignment alignment)
col.withCenteredComponent(Component)
col.withRightAlignedComponent(Component)
Give ResponsiveLayouts a ContainerType
ref: http://getbootstrap.com/css/#overview-container
ResponsiveLayout responsiveLayout = new ResponsiveLayout(ContainerType)
responsiveLayout.setContainerType(ContainerType)
Add components straight to a Row for a fluid adjustment based on screen size
New Api for Margin (Small Normal) Spacing (Small Normal)
See Issue: #10
row.addComponents(Components...)
row.withComponents(Components...)
row.setSpacing(SpacingSize.small,true);
row.setMargin(MarginSize.small,true);
row.withSpacing(size,boolean)
row.withMargin(size,boolean)
row.withVerticalSpacing(size,boolean)
row.withHorizontalSpacing(size,boolean)
Thanks @hofmanndavid @bassmartin !