Mercurial > wow > reagentmaker
comparison SecureMenu.lua @ 45:4e6492b19f4c
Wrap external window title text (could be nicer...)
author | contrebasse |
---|---|
date | Sat, 30 Apr 2011 00:53:03 +0200 |
parents | 5a6091dddf69 |
children | 60871b43531d |
comparison
equal
deleted
inserted
replaced
44:cefa203e2e51 | 45:4e6492b19f4c |
---|---|
92 itemIcon:SetSize(64,64) | 92 itemIcon:SetSize(64,64) |
93 itemIcon:SetPoint("TOPLEFT",8,-4) | 93 itemIcon:SetPoint("TOPLEFT",8,-4) |
94 | 94 |
95 -- Title | 95 -- Title |
96 local TitleText = MenuFrame:CreateFontString(nil,"ARTWORK","GameFontHighlight") | 96 local TitleText = MenuFrame:CreateFontString(nil,"ARTWORK","GameFontHighlight") |
97 TitleText:SetSize(92,14) | 97 --TitleText:SetSize(92,14) |
98 TitleText:SetPoint("RIGHT",CloseButton,"LEFT",4,1) | 98 TitleText:SetSize(92,36) |
99 TitleText:SetPoint("TOPRIGHT",CloseButton,"TOPLEFT",4,-8) | |
100 TitleText:SetWordWrap(true) | |
101 TitleText:SetNonSpaceWrap(false) | |
102 TitleText:SetJustifyV("TOP") | |
103 | |
99 | 104 |
100 local MENU_ENTRY_HEIGHT = 41 | 105 local MENU_ENTRY_HEIGHT = 41 |
101 local MENU_ENTRY_WIDTH = 147 | 106 local MENU_ENTRY_WIDTH = 147 |
102 local MENU_ENTRY_ICON_RATIO = 40/48 | 107 local MENU_ENTRY_ICON_RATIO = 40/48 |
103 | 108 |