View Single Post
02-01-06, 01:44 AM   #6
tralkar
An Onyxian Warder
 
tralkar's Avatar
Join Date: Jan 2005
Posts: 352
Any one tell me why this don't scrolling right? sometimes it does and sometimes it don't Am i missing something?

<Script file="localization.lua"/>
<Include file="QuestToolTip.xml"/>
<CheckButton name="MinionCheckButtonTemplate" virtual="true" hidden="true" inherits="OptionsCheckButtonTemplate">
<HitRectInsets>
<AbsInset left="0" right="0" top="0" bottom="0"/>
</HitRectInsets>
<Size>
<AbsDimension x="15" y="15"/>
</Size>
<Scripts>
<OnClick>
QuestToolTip_MinionCheckButton_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<Frame name="QuestMinionFrame" toplevel="true" movable="true" parent="QuestLogFrame" enableMouse="true" hidden="false">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="QuestLogFrame" relativePoint="TOP">
<Offset>
<AbsDimension x="-63" y="-64"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="QuestLogTitle1MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-77"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="QuestLogTitle2MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-92"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="QuestLogTitle3MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-107"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="QuestLogTitle4MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-122"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="QuestLogTitle5MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-137"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="QuestLogTitle6MinionCheckButton" inherits="MinionCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-152"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<Frame name="QuestCompanionCheckFrame">
<Size>
<AbsDimension x="54" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="190" y="-48"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="QuestCompanionLabel" inherits="GameFontNormalSmall" justifyH="LEFT" text="QMINION_TITLE">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-47" y="-12"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="ShowLevelLabel" inherits="GameFontNormalSmall" justifyH="LEFT" text="QMINION_SHOWLEVEL">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="53" y="-12"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="QuestLogCountText" inherits="GameFontHighlight" text="">
<Size>
<AbsDimension x="100" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="QuestLogTitleText" relativePoint="CENTER">
<Offset>
<AbsDimension x="30" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="QuestCompanionCheckButton" hidden="false" inherits="OptionsCheckButtonTemplate">
<HitRectInsets>
<AbsInset left="0" right="-70" top="0" bottom="0"/>
</HitRectInsets>
<Size>
<AbsDimension x="25" y="25"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-70" y="-4"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
QuestToolTip_Button_OnClick();
</OnClick>
<OnEnter>
local tooltip = QuestToolTip_GetTooltip();
tooltip:SetOwner(this,"ANCHOR_RIGHT");
tooltip:SetText(QMINION_BUTTON_TTIP, 1.0, 1.0, 1.0);
</OnEnter>
<OnLeave>
local tooltip = QuestToolTip_GetTooltip();
tooltip:Hide();
</OnLeave>
<OnShow>
this:SetChecked(QMinionConfig.Enabled);
QuestToolTip_QuestSearch();
</OnShow>
</Scripts>
</CheckButton>
<CheckButton name="ShowLevelCheckButton" hidden="false" inherits="OptionsCheckButtonTemplate">
<Size>
<AbsDimension x="25" y="25"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="30" y="-4"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
QMinionConfig.ShowLevel = this:GetChecked();
QuestLog_Update();
QuestToolTip_Show(3);
</OnClick>
<OnEnter>
local tooltip = QuestToolTip_GetTooltip();
tooltip:SetOwner(this,"ANCHOR_RIGHT");
tooltip:SetText(QMINION_SHOWLEVEL_INFO, 1.0, 1.0, 1.0);
</OnEnter>
<OnLeave>
local tooltip = QuestToolTip_GetTooltip();
tooltip:Hide();
</OnLeave>
<OnShow>
this:SetChecked(QMinionConfig.ShowLevel);
QuestToolTip_QuestSearch();
</OnShow>
</Scripts>
</CheckButton>
</Frames>
</Frame>
</Frames>
</Frame>
<Frame name="QTTFrame" frameStrata="LOW" enableMouse="false" hidden="false" parent="UIParent">
<Scripts>
<OnShow>
if (QMinionConfig.Enabled == 1) then QuestToolTip_Show(QMinionConfig.Minimized); end
</OnShow>
</Scripts>
</Frame>
</Ui>
  Reply With Quote