From 1279c8036a9e0614d55e64e9372e61a419f609d5 Mon Sep 17 00:00:00 2001 From: RaysFire Date: Mon, 19 Nov 2012 15:23:47 -0600 Subject: Positioning/sizing fixes --- resource/ui/HudInspectPanel.res | 221 ++++++++++++++++++++-------------------- 1 file changed, 111 insertions(+), 110 deletions(-) (limited to 'resource/ui/HudInspectPanel.res') diff --git a/resource/ui/HudInspectPanel.res b/resource/ui/HudInspectPanel.res index 6831b28..3449462 100644 --- a/resource/ui/HudInspectPanel.res +++ b/resource/ui/HudInspectPanel.res @@ -1,111 +1,112 @@ -"Resource/UI/HudInspectPanel.res" -{ - "itempanel" - { - "ControlName" "CItemModelPanel" - "fieldName" "itempanel" - "xpos" "0" - "ypos" "0" - "zpos" "10" - "wide" "250" - "tall" "900" - "visible" "0" - "bgcolor_override" "255 255 255 0" - "PaintBackgroundType" "0" - - "model_xpos" "10" - "model_center_y" "1" - "model_wide" "64" - "model_tall" "48" - - "text_xpos" "90" - "text_ypos" "25" - "text_wide" "155" - "text_center" "1" - - "max_text_height" "90" - "padding_height" "10" - "resize_to_text" "1" - "text_forcesize" "2" - - "itemmodelpanel" - { - "fieldName" "itemmodelpanel" - "use_item_rendertarget" "1" - "useparentbg" "1" - } - - "ItemBackground" - { - "ControlName" "ImagePanel" - "fieldName" "ItemBackground" - "xpos" "0" - "ypos" "0" - "zpos" "-99" - "wide" "250" - "tall" "900" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "fillcolor" "0 0 0 100" - } - "TitleBackground" - { - "ControlName" "ImagePanel" - "fieldName" "TitleBackground" - "xpos" "4" - "ypos" "4" - "zpos" "-99" - "wide" "246" - "tall" "14" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "fillcolor" "0 0 0 100" - } - - - "ItemLabel" - { - "ControlName" "CExLabel" - "fieldName" "ItemLabel" - "font" "Cerbetica12" - "xpos" "10" - "ypos" "5" - "zpos" "1" - "wide" "270" - "tall" "12" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "#FreezePanel_Item" - "textAlignment" "south-west" - "dulltext" "0" - "brighttext" "0" - } - - "attriblabel" - { - "ControlName" "CExLabel" - "fieldName" "attriblabel" - "font" "ItemFontAttribLarge" - "xpos" "0" - "ypos" "30" - "zpos" "2" - "wide" "140" - "tall" "60" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "%attriblist%" - "textAlignment" "north" - "fgcolor" "235 226 202 255" - "centerwrap" "1" - } - } -} +"Resource/UI/HudInspectPanel.res" +{ + "itempanel" + { + "ControlName" "CItemModelPanel" + "fieldName" "itempanel" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "250" + "tall" "900" + "visible" "0" + "bgcolor_override" "255 255 255 0" + "PaintBackgroundType" "0" + "paintborder" "0" + + "model_xpos" "10" + "model_center_y" "1" + "model_wide" "64" + "model_tall" "48" + + "text_xpos" "90" + "text_ypos" "25" + "text_wide" "155" + "text_center" "1" + + "max_text_height" "90" + "padding_height" "10" + "resize_to_text" "1" + "text_forcesize" "2" + + "itemmodelpanel" + { + "fieldName" "itemmodelpanel" + "use_item_rendertarget" "1" + "useparentbg" "1" + } + + "ItemBackground" + { + "ControlName" "ImagePanel" + "fieldName" "ItemBackground" + "xpos" "0" + "ypos" "0" + "zpos" "-99" + "wide" "250" + "tall" "900" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + "TitleBackground" + { + "ControlName" "ImagePanel" + "fieldName" "TitleBackground" + "xpos" "4" + "ypos" "4" + "zpos" "-99" + "wide" "246" + "tall" "14" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "fillcolor" "0 0 0 100" + } + + + "ItemLabel" + { + "ControlName" "CExLabel" + "fieldName" "ItemLabel" + "font" "Cerbetica12" + "xpos" "10" + "ypos" "5" + "zpos" "1" + "wide" "270" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#FreezePanel_Item" + "textAlignment" "south-west" + "dulltext" "0" + "brighttext" "0" + } + + "attriblabel" + { + "ControlName" "CExLabel" + "fieldName" "attriblabel" + "font" "ItemFontAttribLarge" + "xpos" "0" + "ypos" "30" + "zpos" "2" + "wide" "140" + "tall" "60" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%attriblist%" + "textAlignment" "north" + "fgcolor" "235 226 202 255" + "centerwrap" "1" + } + } +} s \ No newline at end of file -- cgit v1.2.3