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.:)
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.:)