MINIONBOTS / FFXIVMinion

The LUA-Bot-Module for FFXIVMinion, from MMOMinion.com
93 stars 52 forks source link

StyleColor flag [GUI.Col_TextDisabled] not responding to disable text in GUI:BeginMenu() #101

Closed mushroom8009 closed 2 months ago

mushroom8009 commented 2 months ago

GUI:PushStyleColor(GUI.Col_TextDisabled) GUI:BeginMenu(str,false) before 7.0, it was response, but no longer

image

MINIONBOTS commented 2 months ago

344655067-7b27bfac-a0d8-4ad8-bb4f-29eaee54d258

This works fine for me as you can see. GUI.Col_TextDisabled is changing the color of GUI:TextDisabled("...") elements. In your example above you just create a BeginMenu / EndMenu. That is most likely not Col_TextDisabled but some other enum value ? If I had to take a guess, Col_MenuBarBg or Col_Header ?

mushroom8009 commented 2 months ago

Col_MenuBarBg image Col_Header image

use GUI.Col_Text image image wiki image

first of all, please you should know that until 6.x, the color was changed by GUI.Col_TextDisabled i thought from the wiki that this item had an enable/disable attribute and the text in it was the same attribute as TextDisabled and it did indeed if you're saying that the specs have changed since 7.0, i agree however, if it can no longer do what it used to be able to do, it is normal to consider it a issue

if this is a specification, please Close this sorry to take up your time :)

MINIONBOTS commented 2 months ago

Ahhh now I get what you wanted todo originally. Have you tried the normal Col.Text ? We upgraded the imgui version from a very old one to the 'newest', that indeed came with quite a lot of changes.