View Full Version : Adding custom controls to Dialog object's header
27 Aug 2010, 12:03 PM
I need to add custom controls to the header section of the Dialog object. Specifically, ... I need to add the label "close" along with the "X" button used to close the dialog. None of the methods exposed on Dialog let me do it via the API. Is there a work around for this issue ?
27 Aug 2010, 12:05 PM
Is this what you are looking for?
27 Aug 2010, 12:08 PM
Thanks for your quick reply. I tried this to begin with ... but the addTool takes a Component ... not a Label.
27 Aug 2010, 12:20 PM
Use the GXT Label component, not the one from GWT.
If you want to use the one from GWT, wrap it into a WidgetComponent
27 Aug 2010, 12:41 PM
That worked like a charm. Thanks a lot.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.