.expand() method will widen the children tabs at the bottom of your page by roundabout 12% to give you more space for data and less gaps.
Expanding the tabs’ width is part of the detail view’s
Automatically show badges
If this does not work by default, please check the following:
language.phpin your editor
- Find the line starting with
$Translation['records x to y of z']
- Within your localized/translated string, check if
<RecordCount>is the last variable.
- As long as the order of the variables
<RecordCount>are being kept in that order,
.showBadges()should work out of the box. There is a regular expression which finds the last integer number.
- If this does not work with your translaten, you can still pass a customized regular expression as parameter to