Go to Page... |
|
Thread Tools | Display Modes |
|
02/05/15, 02:42 AM | #1 | |
|
As for the Fixed width...Just change it and make it a different "fixed" width Make it just big enough for the words on the button, a little padding, & anchor it differently to allow for more room for text. Although Your idea of putting the buttons on the left is probably a better idea. If you guys come up with any ideas you want to implement & want any help with anything just let me know, I'de be happy to pitch in. |
|
02/05/15, 04:07 AM | #2 |
Ya, the problem I have with the "half" option is localization. Allowing/Enabling localization makes the definition of "isn't that long" very difficult. Text may small in english fitting "half" and when is squeezed in other languages.
One example always disturbing me a little bit: Item tooltip: "Bound upon equip" = "Wird beim Anlegen gebunden" 1.75x width. Causing a word wrap, effecting the line height on the left side, too. |
|
02/05/15, 04:41 PM | #3 | ||
|
I'm in complete agreement with you, that is why I suggested the change. Somehow it needs to be more flexible. |
||
02/05/15, 04:14 AM | #4 |
Many good ideas! Keep 'em coming
I like the idea of using templates to change the style. How about allowing two levels of customization?
For the settings I will have to use one of the methods proposed here.
We could also add some kind of version check that allows us to put out a warning when libAddonMenu has not been updated and an addon requires a newer version. edit: forgot about the subcategories... I don't like them either. I think addon specific things should stay on the right side of the menu. Maybe we can use tabs instead? Last edited by sirinsidiator : 02/05/15 at 04:19 AM. |
|
02/05/15, 06:24 AM | #5 |
|
|
02/05/15, 07:14 AM | #6 |
For a large addon list we already know a lot techniques:
- recent list - favorites (does it make sense here?) - user-defined groups (but the users must organize themself) Would work if we have saved settings, only Automatic grouping: - First Letter (A-D, E-H, G-M ...) sound easy, but can be tricky if you want the ranges to be dynamic. - Author (Garkin would still have a large list ) Does a user look for an addon by a specific author. No... There could be some symbols (ESO works with symbols) or a dropdown, to switch view mode. But we must be careful not to overload the effort with super duper high-end wishes. I would start with a recent list and when grouping. Both optional and off by default. Where must be something left for r18 PS: I think it is dangerous and un-maintainable, that each control has its own revision mangement and basically can come from "anywhere". Last edited by votan : 02/05/15 at 07:22 AM. |
|
02/05/15, 07:51 AM | #7 |
I know what you mean, but if we keep the "embedded" style, I'm afraid, there is no choice.
If the namespace is unique, I think it's ok. And if where is a breaking change in future, you can use the version number for migration and swipe out. Last edited by votan : 02/05/15 at 08:10 AM. |
|
02/05/15, 08:36 AM | #8 |
Hi,
Posted Screenshot is nice. Get the "ESO Menus font" at the left is really cool. No borders as real options in eso. I think the user need to think he's not into an addon setting but in its game settings. As circonian says, maybe add submenus in the panel available as an option. I find them actually ugly, but they're needed. A revamp of them into the settings section is also needed. Also for panel section make an embedded colorization (like my code snip below) with ZO_HIGHLIGHT_TEXT:Colorize Lua Code:
When you reset to default, a reloadUI is done when 1 option get a reloadUI in its code. In fact I think the whole options are set back to defaut, without loooking if the actual option is maybe at the default value. It could be interesting to fix this. A Wider panel is absolutly needed ! In French and German, it's really hard to put comprehensive labels. English get a majority of little words, other languages not. PS : A better way would be to manually set this option in addons (in panel section!) with an option like in my code above. It will set the width of the right section of the options. (without the addon list). if under your min val, ignored, if its the max set it for all addons. Some addons really need a very long list. Try to fix the \n problem in description! Wrote a description, put some \n\n and put something under you'll see the bug. A search window for options based on labels Look at pChat, it's horrible to set an option , as I got tons of options inside this addon. think Wykkyds got same problem. If it's possible, try to implement back the dual colorpicker button. But it was a puddy tweak. I don't really know if it will be interesting. It's a label and 2 colorpickers. it returns r1, b1, g1, r2, b2, g2 instead of r, g, b An option or something for rebuild LAM ! In some of my addons, a part of the option table is build by code, not manually set. In fact a got a block per guild. and when user join/leave a guild, I rebuilt LAM. but if the user has already get a look into LAM before, it won't rebuilt. Please have a look. Add invisible option. If LAM got "disable" value, could you see if invisible is do-able ? the option will get a true/false value required, built by one of our function as disable work. When 1 option control 10 others, invisible could be nice. controlled by SetHidden and maybe a smooth option if it's possible For other suggestion.. Categorys, It's really a trap. I got an adddon GuildNotificator, It notifys in "chat", "guildmates" connexions. Does this addon go in chat, guild, both ? Could an addon be in 1+ category? If we add those, I really think we need to add categories only if a category is populated by 2+ addons. If user only got 1 guild, 1 chat, 1 pvp, and 1 craft addons, it won't be displayed. But if he get 2pvp per exemple, categorys could be displayed. And a little checkbox at the top of the addon list "regroup Addons per category" |
|
02/05/15, 09:22 AM | #9 | |
I have a similar problem. My unreleased solution (using Harven's Addon Settings) is to make EVERY configuration property able to be a callback. It's basically:
Lua Code:
Harven's great implementation makes it smooth to do so. GetValueOrCallback(arg) checks if "arg" is a function, and if so, calling it with "self", returning the value of the function. Otherwise returning "arg" itself. In my case the number of controls is static, but for Ayantir a dynamic "setting.isHidden" could do what is needed to change the number of controls.
Last edited by votan : 02/05/15 at 09:49 AM. |
||
02/05/15, 09:36 AM | #10 |
After update to r16 because of Update 5, LAM doesn't properly select nodes in game menu tree when you open settings menu from slash command. Here is my (unfinished) solution:
Lua Code:
It is not finished yet, because there is still one issue - it doesn't properly select button in addon list and scroll list does not move to that button. If I want to fix that, I will have to get reference for addon button. Probably the best would be adding it to panel itself. I have to try what I can do without extensive changes to the code. EDIT: Button is selected, but scroll list scrolls to the button only if button list is already initialized, when you open LAM settings for the first time it doesn't work. Lua Code:
Last edited by Garkin : 02/05/15 at 10:16 AM. |
|
02/05/15, 03:00 PM | #11 |
New version including code from Merlight and Garkin.
Pic 1 But this is nice, too. The title is right aligned. Pic 2 Source here. Changes effecting panel and submenu. Last edited by votan : 02/05/15 at 03:10 PM. |
|
02/05/15, 05:13 PM | #12 | |
|
|
|
02/05/15, 05:21 PM | #13 |
Here is my update:
LibAddonMenu-2.0r17-Update6_beta.zip - all widgets are now controls instead of top level controls - submenu looks slightly different, label color now changes when menu is open/closed/mouseover |
|
02/05/15, 06:59 PM | #14 | |
|
|
|
02/05/15, 05:04 PM | #15 | ||
|
My main concern is a user downloadable style changing something it should not that messes up the layout/look of the addon panel we create for our addons. For example what if I had two settings set to "half" width, but a user downloads a style that widens the buttons/droopdown box and now they no longer fit next to each other in "half" width. I wouldn't want them changing any color schema I set up for my panel either.
The ingame savedvars is what I used for LibNeed4Research, but I admit I too didn't really like the idea of putting the savedVars in there. However, since this is used by so many addons & every addon has to include it I think the standalone idea is a pretty good one. Just force everyone to depend on it or add some way to check (without watching for it to load in OnAddonLoaded) to see if LibAddonMenu has been loaded AND what the current version is, before creating the settings menu. This way addons could create the settings menu or not, depending upon if LibAddonMenu is installed & if it is the correct/up to date version, so that the addon could function either way the user just wouldn't be able to change settings without it. |
||
ESOUI » Developer Discussions » General Authoring Discussion » New UI for LibAddonMenu r17 (update 1.6)? |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Switch to Linear Mode |
Hybrid Mode |
Switch to Threaded Mode |
|
|