Hello, I am using GXT3.1.2/GWT2.6.
Cannot resize tab width nor make the tabs resizable
First of all, I want to set the tab width to specific width. I tried to use setTabWidth, but no luck. This is my code.
private void initializeTabPanel(){
tabPanel = new TabPanel();
tabPanel.setAnimScroll(true);
tabPanel.setTabScroll(true);
tabPanel.setCloseContextMenu(true);
tabPanel.setTabWidth(600);
}
Second, I want to let the tabs fill up remaining spaces of the tabPanel, but still no luck.
This is my code:
private void initializeTabPanel(){
tabPanel = new TabPanel();
tabPanel.setAnimScroll(true);
tabPanel.setTabScroll(true);
tabPanel.setCloseContextMenu(true);
tabPanel.setResizeTabs(true);
}
I attached a picture to show what I want to achieve. I am not sure whether I made some mistake or it is just a bug. Please help.
Cannot resize tab width nor make the tabs resizable
Aucun commentaire:
Enregistrer un commentaire