mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-11 04:17:38 +00:00
The Backdrop of each frame draws its background and border into the BACKGROUND layer, and it is applied after the textures declared in the XML, so a title bar in that layer ends up underneath it. On ScriptErrorsFrame, whose backdrop is the 32px dialog border, the header came out behind the window edge; on EventTraceFrame and TableInspectorFrame the bar is a translucent one inside the frame, so it was buried rather than misplaced. Every Blizzard frame that uses UI-DialogBox-Header puts it in ARTWORK. The title text of all three is in OVERLAY and still reads over the top. ScriptErrorsFrame is also the only frame here that takes its scroll bar from UIPanelScrollFrameTemplate, which hangs the bar off the right edge of the scroll frame rather than inside it, so the bar ran past the border. Narrow the scroll frame, and its child edit box with it, to end where the Close button does. Blizzard's own measurements do not carry over: its ScriptErrorsFrame inherits UIPanelDialogTemplate, a thin GearManager border, not this backdrop. The other two frames place their sliders by hand and already sat inside.