SetGadgetItemAttribute <- What Am I doing wrong
Posted: Mon Jan 13, 2025 10:45 pm
ListIconGadget(#ListIconGadget1, 20,340,400,240,"Month name",270,#PB_ListIcon_FullRowSelect)
AddGadgetColumn(#ListIconGadget1,2,"Days",100)
SetGadgetItemAttribute(#ListIconGadget1, 1, #PB_ListIcon_ColumnAlignment, #PB_ListIcon_Center)
In my code i have these three lines of code. As I understand it,1 here should center the text in the column Days. But no matter the value here, Month name is the one centered? What Am I doing wrong?
AddGadgetColumn(#ListIconGadget1,2,"Days",100)
SetGadgetItemAttribute(#ListIconGadget1, 1, #PB_ListIcon_ColumnAlignment, #PB_ListIcon_Center)
In my code i have these three lines of code. As I understand it,1 here should center the text in the column Days. But no matter the value here, Month name is the one centered? What Am I doing wrong?