source: ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/common/components/OptionalTooltipDataGridItemRenderer.as @ 281

Last change on this file since 281 was 281, checked in by patdui, 14 years ago
  • more little bug fixes and layout changes, trying to use shibboleth for authorisation
File size: 443 bytes
Line 
1package clarin.cmdi.componentregistry.common.components {
2        import mx.controls.dataGridClasses.DataGridItemRenderer;
3
4        public class OptionalTooltipDataGridItemRenderer extends DataGridItemRenderer {
5                public function OptionalTooltipDataGridItemRenderer() {
6                        super();
7                }
8
9        public override function set toolTip(value:String):void {
10            if (textWidth > width) {
11                super.toolTip = value;
12            }
13        }
14        }
15}
Note: See TracBrowser for help on using the repository browser.