Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-04-23, 01:47 PM   #1
maciekish
A Murloc Raider
Join Date: May 2023
Posts: 4
Cant get a simple frame to display in WOTLK

Hi, I'm still very new to addon development and i'm struggling to display a simple frame. It gets loaded because the chat message gets displayed and if i enable mouse, i cant click through it, so its there in the middle of the screen but invisible. Can anyone help me with the background please? I want a black background with a silver frame.

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ http://wowprogramming.com/FrameXML/UI.xsd">
  <Frame name="CritlineClassicDisplay" parent="UIParent" toplevel="true" enableMouse="false" movable="true">
    <Scripts>
      <OnLoad>
        print("Frame Loaded")
      </OnLoad>
    </Scripts>
    <Size>
      <AbsDimension x="400" y="200"/>
    </Size>
    <Anchors>
      <Anchor point="CENTER" relativePoint="CENTER"/>
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
      <BackgroundInsets>
        <AbsInset left="11" right="12" top="12" bottom="11"/>
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32"/>
      </TileSize>
      <EdgeSize>
        <AbsValue val="32"/>
      </EdgeSize>
    </Backdrop>
  </Frame>
</Ui>
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Cant get a simple frame to display in WOTLK


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off