PDA

View Full Version : ComboBox dropdowm image not visible in chrome



jennygandra
8 Nov 2009, 11:02 PM
Hi All,

When I place a combobox in a toolbar, with HorizontalAlignment.RIGHT, the dropdown image of the combobox is not visible in chrome.

Below is the code snippet:
ToolBar toolBar = new ToolBar();
toolBar.setHeight( 23 );
toolBar.setBorders( false );
toolBar.setStyleAttribute( "background", "transparent none repeat scroll 0 0" );
final ListStore<ModelData> store = new ListStore<ModelData>();
ComboBox<ModelData> comboBox = new ComboBox<ModelData>();
comboBox.setEditable( false );
comboBox.setStore( store );
comboBox.setDisplayField( "Requests" );
comboBox.setValue( store.getAt( 0 ) );
toolBar.setAlignment( HorizontalAlignment.RIGHT );
toolBar.add( new FillToolItem() );
toolBar.add( comboBox );

Thanks in advance.:)

romero83
9 Nov 2009, 4:53 AM
Try to hack it with CSS, maybe it helps.


/* Chrome combobox fix */
.x-form-field-wrap .x-form-trigger{right:0;}