GBC 1.00.49 was released on November 19th 2018.
This page provides information about new features, as well as changes you need to take care of when migrating your customization to this version.
Table minimum size
New theme variables to define table minimum size
Variable | Type | Comment |
---|---|---|
gbc-TableWidget-min-width |
number | default value is 60 |
gbc-TableWidget-min-page-size |
number | default value is 3 |
Old variables theme-table-min-width
and theme-table-min-page-size
are now deprecated.
ListView minimum size
New theme variables to define listview minimum size
Variable | Type | Comment |
---|---|---|
gbc-ListViewWidget-min-width |
number | default value is 60 |
gbc-ListViewWidget-min-page-size |
number | default value is 1 |
NodeBase API
When a node is destroyed, all of its attributes are now set to NULL. You can use isDestroyed()
function to check if a node is destroyed or not.
Please take that into consideration when doing your own customization.
WidgetBase API
Function setFocus
of WidgetBase class has a new optional parameter
@param {boolean} [fromMouse] - true if focus comes from mouse event
Performance and memory management improvement
- Improved fields switching and window closing processes.
- Many classes have been reviewed in order to reduce memory consumption and avoid leaks.
- It's a good habit to properly detach handlers and free the memory when an object is destroyed or not used anymore. Please take that into consideration when doing your own customization.