UIDropDownMenu_SetWidth(self, 120) UIDropDownMenu_SetButtonWidth(self, 20) local realm = GetRealmName() UIDropDownMenu_SetSelectedValue(self, "Default|".. realm) UIDropDownMenu_SetText(self, realm) UIDropDownMenu_Initialize(self, Altoholic.Tabs.Characters.DropDownRealm_Initialize) UIDropDownMenu_SetWidth(self, 120) UIDropDownMenu_SetButtonWidth(self, 20) local realm = GetRealmName() local player = UnitName("player") UIDropDownMenu_SetSelectedValue(self, format("%s.%s.%s", "Default", realm, player)) UIDropDownMenu_SetText(self, player) UIDropDownMenu_Initialize(self, Altoholic.Tabs.Characters.DropDownChar_Initialize) Altoholic.Tabs.Characters:OnShow() AltoholicFrameClasses:Hide()