LavishGUI:tooltip (Element Type)

From Lavish Software Wiki
Jump to navigation Jump to search

Introduction

What is a Tooltip?

A tooltip is text that is displayed when a mouse is hovered over an element.

Using Tooltips

Tooltips are descendants of the base element type. Any attributes of the base element type may be applied in addition to the tooltip-specific properties described below.

Tooltip-Specific Properties

  • BackgroundColor
Background Color
  • Border
Border size, in pixels
  • BorderColor
Border Color
  • Font
Font reference (Name, Size, Color)
  • Texture
Texture, if any, to use for the element

Examples

Example tooltip template

	<template name='tooltip'>
		
		<BackgroundColor>FF333333</BackgroundColor>
		<Border>1</Border>
		<BorderColor>FFCCCCCC</BorderColor>
		<AlwaysOnTop />
	</template>

See Also