Quantcast
UIDropDownMenu to open a menu centered - WoWInterface
Thread Tools Display Modes
12-22-11, 04:23 PM   #1
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 22
UIDropDownMenu to open a menu centered

Hi,

I was wondering if it is possible to get UIDropDownMenu to open a sub menu centered.

e.g.

It opens as:

Code:
      >Sub1
      >Sub2
      >Sub3
      >Sub3
Main  >Sub5
I want it to open as:

Code:
      >Sub1
      >Sub2
Main  >Sub3
      >Sub3
      >Sub5
An attached screenshot cause it looks pretty:
  Reply With Quote
12-23-11, 03:07 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I think a better solution for your problem would be to use a scrolling dropdown, instead of a gigantic dropdown that covers the entire screen and can even extend outside of the screen.
  Reply With Quote
12-23-11, 03:23 AM   #3
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 22
Originally Posted by Phanx View Post
I think a better solution for your problem would be to use a scrolling dropdown, instead of a gigantic dropdown that covers the entire screen and can even extend outside of the screen.
I decided in the end to create a bunch of smaller menus (~29) rather than one really long (~84) menu. Thanks for the help though, I will have a look into the scrolling dropdown menu for future projects though.

  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » UIDropDownMenu to open a menu centered

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off