diff Libs/DF/dropdown.xml @ 40:a960d5372b0c

- framework update from v22 to v44.
author Tercio
date Wed, 31 Aug 2016 19:55:14 -0300
parents 7944c081e5b4
children
line wrap: on
line diff
--- a/Libs/DF/dropdown.xml	Tue Jul 19 13:23:40 2016 -0300
+++ b/Libs/DF/dropdown.xml	Wed Aug 31 19:55:14 2016 -0300
@@ -79,13 +79,10 @@
 					<Anchor point="TOPLEFT" relativeTo="$Parent" relativePoint="BOTTOMLEFT"/>
 				</Anchors>
 				
-				<Backdrop bgFile="Interface\FrameGeneral\UI-Background-Marble" edgeFile="Interface\Buttons\WHITE8X8" tile="true">
+				<Backdrop edgeFile="Interface\Buttons\WHITE8X8">
 					<EdgeSize>
 						<AbsValue val="1"/>
 					</EdgeSize>
-					<TileSize>
-						<AbsValue val="256"/>
-					</TileSize>
 					<BackgroundInsets>
 						<AbsInset left="0" right="0" top="0" bottom="0"/>
 					</BackgroundInsets>
@@ -104,7 +101,7 @@
 			</Frame>	
 			
 			<ScrollFrame name="$Parent_ScrollFrame" parentKey="dropdownframe" hidden="true" frameStrata="FULLSCREEN">
-				<Size x="150" y="150"/>
+				<Size x="150" y="170"/>
 				<Anchors>
 					<Anchor point="TOPLEFT" relativeTo="$Parent" relativePoint="BOTTOMLEFT" x="0" y="-10" />
 				</Anchors>
@@ -112,12 +109,21 @@
 				<ScrollChild>
 					<Frame name="$Parent_ScrollChild" frameStrata="FULLSCREEN" parentKey="scrollchild">
 					
-						<Size x="150" y="150"/>
+						<Size x="150" y="170"/>
 						
 						<Anchors>
 							<Anchor point="TOPLEFT" relativeTo="$Parent" relativePoint="TOPLEFT" x="0" y="0" />
 						</Anchors>
 						
+						<Backdrop bgFile="Interface\FrameGeneral\UI-Background-Marble" tile="true">
+							<TileSize>
+								<AbsValue val="256"/>
+							</TileSize>
+							<BackgroundInsets>
+								<AbsInset left="0" right="0" top="0" bottom="0"/>
+							</BackgroundInsets>
+						</Backdrop>
+						
 						<Layers>
 							<Layer level="BACKGROUND">
 								<!-- selected texture // we don't know where the file is it -->
@@ -222,6 +228,10 @@
 		</Layers>
 		
 		<Scripts>
+			<OnLoad>
+				self:SetFrameStrata (self:GetParent():GetFrameStrata())
+				self:SetFrameLevel (self:GetParent():GetFrameLevel()+10)
+			</OnLoad>
 			<OnMouseDown>
 				DetailsFrameworkDropDownOptionClick (self);
 			</OnMouseDown>