I'm so interested in the FauxScrollFrame because I'm trying to set borders on the two buttons, but with disastrous results
Code:
<ScrollFrame name="$parentScrollBar" parentKey="scroll" inherits="FauxScrollFrameTemplate" hidden="false">
<Anchors>
<Anchor point="TOPLEFT" x="0" y="-8"/>
<Anchor point="BOTTOMRIGHT" x="-25" y="0"/>
</Anchors>
<Scripts>
<OnLoad>
local backdrop = {
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
tile = true,
tileSize = 8,
edgeSize = 16,
insets = {
left = 3,
right = 3,
top = 3,
bottom = 3
}
}
_G[self:GetName().."ScrollBarScrollUpButton"]:SetBackdrop(backdrop)
</OnLoad>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(self, offset, 16, self:Update())
</OnVerticalScroll>
</Scripts>
</ScrollFrame>