Ejemplo n.º 1
0
        public TextTooltip(string text, Element targetElement, TextTooltipStyle style) : base(null, targetElement)
        {
            var label = new Label(text, style.labelStyle);

            _container.setElement(label);
            setStyle(style);
        }
Ejemplo n.º 2
0
 public TextTooltip( string text, Element targetElement, TextTooltipStyle style )
     : base(null, targetElement)
 {
     var label = new Label( text, style.label );
     _container.setElement( label );
     setStyle( style );
 }
Ejemplo n.º 3
0
		public TextTooltip setStyle( TextTooltipStyle style )
		{
			_container.getElement<Label>().setStyle( style.labelStyle );
			_container.setBackground( style.background );
			return this;
		}
Ejemplo n.º 4
0
 public void setStyle(TextTooltipStyle style)
 {
     _container.getElement <Label>().setStyle(style.labelStyle);
     _container.setBackground(style.background);
 }
Ejemplo n.º 5
0
 public TextTooltip SetStyle(TextTooltipStyle style)
 {
     _container.GetElement <Label>().SetStyle(style.LabelStyle);
     _container.SetBackground(style.Background);
     return(this);
 }
Ejemplo n.º 6
0
 public void setStyle( TextTooltipStyle style )
 {
     _container.getElement<Label>().setStyle( style.label );
     _container.setBackground( style.background );
 }