Presentation styles changes
Modifications to consider when using presentation styles.
New Table.showGrid
style attribute
Starting with GBC 4.00.01, the TABLE
and TREE
containers can
configured to display vertical and horizontal lines individually, with the showGrid
style attribute.
For more details, see Table and Tree style attributes reference pages and Showing table grid lines.
New Table.alternateRows
style attribute
Starting with GBC 4.00.01, the TABLE
and TREE
containers can
use the alternateRows
style attribute to render odd/even rows with a different
background color.
For more details, see Table and Tree style attributes reference pages and Alternate background color of odd/even rows.
New Table.rowHover
style attribute
Starting with GBC 4.00.01, the rowHover
style attribute for
TABLE
and TREE
containers can be used to disable visual effects
when the mouse hovers a given row.
For more details, see Table and Tree style attributes reference pages and Distinguish row on mouse hover.
New Toolbar
style attributes
Starting with GBC 4.00.03, Toolbars can be configured with the aspect
,
itemsAlignment
and "size"
style attributes, to define the
rendering and placement of buttons, as well as the arrangements of icons and texts and button
sizes.
For more details, see Toolbar style attributes reference page.
New UserInterface.desktopMultiWindow
style attribute
Starting with GBC 4.00.03, when using the GDC front-end, the desktopMultiWindow
style attribute for UserInterface defines if programs are displayed in the same unique window
container, or in a dedicated window container.
For more details, see desktopMultiWindow.
New UserInterface.applicationListVisible
style attribute
Starting with GBC 4.00.03, the applicationListVisible
style attribute for
UserInterface can be used to define the visibility of the list of programs displaying on the
front-end.
For more details, see applicationListVisible.
New UserInterface.windowListVisible
style attribute
Starting with GBC 4.00.03, the windowListVisible
style attribute for
UserInterface can be used to define the visibility of the list of windows opened by the current
program.
For more details, see windowListVisible.
New common.defaultTTFColor
style attribute
defaultTTFColor
style attribute is now a common
style attribute:<Style name="*">
<StyleAttribute name="defaultTTFColor" value="red" />
</Style>
Window
class:<Style name="Window">
<StyleAttribute name="defaultTTFColor" value="red" />
</Style>
For more details, see Style attributes common to all elements.
Changes with Window.toolbarPosition
style attribute
Starting with GBC 4.00.01, the toolbarPosition
style attribute for Window
objects supports now the "bottom"
position.
For more details, see Window style attributes reference page.
Deprecated style attributes
HBox
splitViewRendering
(useSPLIT[@screen-size]
form file attribute instead)
TextEdit
textFormat
(use fglrichtext webcomponent)
Table
tableType/listView
(use aTABLE
with a single column, or the newFLIPPED
attribute ofTABLE
, or useSCROLLGRID
as in Example 2: Scrollgrid as listview.
Toolbar
toolBarTextPosition
(use aspect style attribute instead)
Window
-
tabbedContainer
(replacement will come in MR)
-
Desupported style attributes
- Common style attributes
localAccelerators
common style attributeshowAcceleratorInToolTip
common style attribute
Button
buttonType
:commandLink
option
ComboBox
autoSelectionStart
comboboxCompleter
(useCOMPLETER
attribute instead)completionTimeout
qtStyle
(QT lib specific feature)
Image
imageContainerType
(useWEBCOMPONENT
instead)
Action
/MenuAction
androidActionPosition
androidActionWithIcon
androidActionWithText
CheckBox
iosCheckBoxOnTintColor
DateEdit
showGrid
DateTimeEdit
enableCalendar
showGrid
Edit
dataTypeHint
(useKEYBOARDHINT
form field attribute instead)spellCheck
(with GBC, browser spell check is used)
Form
resetFormSize
Image
imageContainerType
Menu
position
Message
position
RadioGroup
autoSelectionStart
completionTimeout
Table
resizeFillsEmptySpace
(useSTRETCHCOLUMNS
orSTRETCH=X
on individual columns)summaryLineAlwaysAtBottom
TextEdit
integratedSearch
spellCheck
(with GBC, browser spell check is used)
ToolBar
iosSeparatorStretch
(useToolbar.itemsAlignment
instead)
UserInterface
Window
- Core:
border
errorMessagePosition
formScroll
ignoreMinimizeSetting
menuPopupPosition
messagePosition
statusBarType
position
: values"center2"
and"previous"
tabbedContainerCloseMethod
toolBarDocking
windowMenu
windowOptionMaximize
windowOptionMinimize
windowSystemMenu
windowState
- Action Panel:
actionPanelButtonSpace
actionPanelDecoration
actionPanelHAlign
actionPanelScroll
actionPanelScrollStep
- Ring Menu:
ringMenuButtonSpace
ringMenuDecoration
ringMenuHAlign
ringMenuScroll
ringMenuScrollStep
- Start Menu:
startMenuAccelerator
startMenuExecShortcut2
startMenuShortcut
startMenuSize
- Mobile Specific:
materialFABActionList
materialFABType
iosRenderSystemActions
iosTintColor
iosNavigationBarTextColor
iosNavigationBarTintColor
iosToolBarTintColor
iosTabBarTintColor
iosTabBarUnselectedColor
- Core:
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 3.20.
- The
sanitize
style attribute, also available since GBC 4.00.01. - The
showVirtualKeyboard
style attribute, also available since GMA 4.00.01 / GBC 4.00.02. - The
Folder.lateRendering
style attribute, also available since GBC 4.00.02.