mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
PL-7501 Update FieldGroup captions column width after fields visibility has changed
This commit is contained in:
parent
f4a8a10d53
commit
0176690058
@ -102,6 +102,13 @@ public class CubaFieldGroupLayoutConnector extends CubaGridLayoutConnector {
|
||||
getWidget().useInlineCaption = getState().useInlineCaption;
|
||||
|
||||
super.onConnectorHierarchyChange(event);
|
||||
|
||||
if (getState().useInlineCaption) {
|
||||
needUpdateCaptionSizes = true;
|
||||
|
||||
// always relayout after caption changes
|
||||
getLayoutManager().setNeedsLayout(CubaFieldGroupLayoutConnector.this);
|
||||
}
|
||||
}
|
||||
|
||||
protected void updateCaptionSizes(int index, VGridLayout.Cell[] column) {
|
||||
|
Loading…
Reference in New Issue
Block a user