Presentation styles changes
Modifications to consider when using presentation styles.
scaleIcon supports nnpx
Starting with GBC 4.01.00, the scaleIcon attribute value can be defined with
"px" unit, to specify a number of pixels.
For more details, see scaleIcon.
defaultTTFColor applies to any type of form element
Starting with GBC 4.01.06, the defaultTTFColor style attribute becomes a
common style attribute that can be specified for any kind of form elements. Before GBC
4.01.06, the defaultTTFColor style attribute could only be specified for the Window
element.
For more details, see defaultTTFColor.
resizeFillsEmptySpace attribute is again supported
Starting with GBC 4.01.10, the resizeFillsEmptySpace attribute – which had been
desupported in version
4.00 – is once again supported for TABLE and
TREE.
See table.resizeFillsEmptySpace, tree.resizeFillsEmptySpace.
packed attribute for HBOX and VBOX
Starting with GBC 4.01.14, the new packed style attribute is available for
HBOX and VBOX containers, to pack the children elements to the
origin of the box.
See packed.
New windowType value modalOnLargeScreen
Starting with GBC 4.01.15, the window style attribute windowType accepts a new
value "modalOnLargeScreen", to indicate that the window must be displayed as
"modal" (aka popup) on screens with a size that matches the @LARGE
size modifier of form definition attributes (.per), or as
"normal" for smaller window sizes.
For more details, refer to windowType.
New rowAspect attribute for card views
rowAspect can be defined
to "card", in order to get card-like rendering of rows for:- A
TABLEwithFLIPPEDattribute in action. - A
SCROLLGRIDwithWANTFIXEDPAGESIZE=NO(applies also whencustomWidgetstyle attribute is set to"pagedScrollGrid")
For more details, see Table.rowAspect, ScrollGrid.rowAspect.
New position attribute for ToolBars
Starting with GBC 4.01.21, the new position style attribute can be used to
display toolbars individually at the top or bottom of the window, in the chromebar, or to hide the
toolbar completely.
This new position style attribute of ToolBar elements overwrites the Window
style attribute toolbarPosition.
For more details, see position.
Deprecated style attributes
- No deprecated style attributes in this version.
Desupported style attributes
- No desupported style attributes in this version.
Changes in earlier versions
Make sure to check the upgrade notes of earlier versions, to not miss changes introduced in maintenance releases. For more details, see Presentation style changes in BDL 4.00.
- No particular change to consider.