PDA

View Full Version : Can't resize custom Combobox with multiple checkboxes GXT3



M Amin AIMEUR
13 Aug 2018, 3:16 AM
it's been two days since I started working on some JAVA EE / GWT+GXT project, It's kinda new for me and I needed a combobox containing checkboxes inside of it's list, I found the following source code on github; GXT combo with multiple checkbox for GXT 4.0.3 (https://gist.github.com/branflake2267/7461fd4cd83f53c8c4a3152104213ef6), and it works fine, the only problem I'm getting is that I can't resize it after adding to a vertical layout VerticalLayoutContainer, I tried the .setWidth(..) on the combobox and even on the checkboxes inside of it, but it doesn't change anything, the width of that combobox is fixed. here's how I added my combobox to the VerticalLayoutContainer :

vlcSide.add(combo, new VerticalLayoutData(600 , -1, new Margins(4, 2, 4, 2)));Does anyone have any idea how to change that? thanks in advance.

Forum_Adm
7 Sep 2018, 12:50 PM
Thank you for your patience with us while we get this resolved. I sent your question over to a team member and we will get back with you shortly.