How to draw an horizontal line?
Hi, I want to make a header like the ones on this image, but I have no idea on how to draw that horizontal line:
It's an small addon so I'm using no libs, just XML and default API. Anybody knows how to do it? :) |
Use CreateTexture(). Example:
Lua Code:
Where f is the name of your frame. |
Thx for the instant response :) :banana:
|
This does not seem to work any more.
The following is how it can be done. Code:
local line = f:CreateTexture() |
There is now a line widget CreateLine.
|
Quote:
See also: https://wow.gamepedia.com/Widget_API#Line |
All times are GMT -6. The time now is 04:35 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI