두 개의 Vlayouts (dialogVLeftPanel, dialogVRightPanel)가 포함 된 gwt 프로젝트가 있습니다. 내가 그것을 할 때 모두 폭을 변경 싶어하기 때문에 나는 그 Vlayouts 사이의 resisable 줄을 넣어 싶어smartgwt - 두 개의 인접 패널 (vlayouts) 크기를 조정할 수 없습니다.
/////////// drzewo użytkowników
userViewTree = new Tree();
userViewTree.setModelType(TreeModelType.PARENT);
userViewTree.setIdField("UserViewId");
userViewTree.setParentIdField("ReportsTo");
userViewTree.setNameProperty("Użytkownicy");
userViewTree.setRootValue(1);
userViewTree.setData(userViewData);
TreeGrid userViewTreeGrid = new TreeGrid();
userViewTreeGrid.setHeight(600);
userViewTreeGrid.setWidth(185);
userViewTreeGrid.setShowOpenIcons(false);
userViewTreeGrid.setShowDropIcons(false);
userViewTreeGrid.setClosedIconSuffix("");
userViewTreeGrid.setFields(new TreeGridField("Użytkownicy"));
userViewTreeGrid.setData(userViewTree);
userViewTreeGrid.getData().openAll();
dialogVLeftPanel.addMember(userViewTreeGrid);
///////////////////////////////////////////////////
//////////////drzewo uprawnień/////////////////////
///////////////////////////////////////////////////
Tree userTree = new Tree();
userTree.setModelType(TreeModelType.PARENT);
userTree.setRootValue(1);
userTree.setNameProperty("Uprawnienia");
userTree.setIdField("userId");
userTree.setParentIdField("ReportsTo");
userTree.setOpenProperty("isOpen");
userTree.setData(userData);
final TreeGrid userTreeGrid = new TreeGrid();
userTreeGrid.setHeight(600);
userTreeGrid.setWidth(630);
userTreeGrid.setShowOpenIcons(false);
userTreeGrid.setShowDropIcons(false);
userTreeGrid.setClosedIconSuffix("");
userTreeGrid.setData(userTree);
userTreeGrid.setSelectionAppearance(SelectionAppearance.CHECKBOX);
userTreeGrid.setFields(new TreeGridField("Uprawnienia"));
userTreeGrid.setShowSelectedStyle(false);
userTreeGrid.setShowPartialSelection(true);
userTreeGrid.setCascadeSelection(true);
dialogVRightPanel.addMember(userTreeGrid);
: Vlayouts 아래 코드와 같은 TreeGrid에를 포함하고있다. 코드를 넣으면 :
userTreeGrid.setShowResizeBar (true);
크기 조정 막대는 표시되지만 Vlayout의 맨 아래에 있으며 패널 만 줄일 수 있습니다. 패널을 더 넓게 만들고 싶다면 작동하지 않습니다. 문제를 어떻게 해결할 수 있습니까?
도움 주셔서 감사합니다.