m
update example to set a more tooltip-like backdrop (insets, color)
(Document arguments) |
m (update example to set a more tooltip-like backdrop (insets, color)) |
||
| Line 22: | Line 22: | ||
MinimapCluster:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", | MinimapCluster:SetBackdrop({bgFile = "Interface/Tooltips/UI-Tooltip-Background", | ||
edgeFile = "Interface/Tooltips/UI-Tooltip-Border", | edgeFile = "Interface/Tooltips/UI-Tooltip-Border", | ||
tile = true, tileSize = | tile = true, tileSize = 16, edgeSize = 16, | ||
insets = { left = | insets = { left = 4, right = 4, top = 4, bottom = 4 }}); | ||
MinimapCluster:SetBackdropColor(0,0,0,1); | |||
== See Also == | == See Also == | ||
* [[edgeFiles]] | * [[edgeFiles]] | ||
* [[API SetBackdropColor|SetBackdropColor]] | * [[API SetBackdropColor|SetBackdropColor]] | ||
* [[API SetBackdropBorderColor|SetBackdropBorderColor]] | * [[API SetBackdropBorderColor|SetBackdropBorderColor]] | ||