Cant see my button

Honestly, I have no explanation for this. I just can’t see my button, I made sure I was editing the right file. I also tried changing the x and y position and it did not work.

local addSubcategoryButton = widget.newButton({ x = nameCategory.x + (nameCategory.width / 2), y = nameCategory.y, label = "", width = 20, height = 20, defaultFile = "Hopstarter-Rounded-Square-Button-Add.jpg" }) sceneGroup:insert( addSubcategoryButton )

I also tried adding text to the label, but I could not see it.

I also tried this:

local addSubcategoryButton = widget.newButton({ label = "", width = 20, height = 20, defaultFile = "Hopstarter-Rounded-Square-Button-Add.jpg" }) addSubcategoryButton.x = nameCategory.x + (nameCategory.width / 2) addSubcategoryButton.y = nameCategory.y

I found my button! It was right behind the textField. :stuck_out_tongue:

I also tried adding text to the label, but I could not see it.

I also tried this:

local addSubcategoryButton = widget.newButton({ label = "", width = 20, height = 20, defaultFile = "Hopstarter-Rounded-Square-Button-Add.jpg" }) addSubcategoryButton.x = nameCategory.x + (nameCategory.width / 2) addSubcategoryButton.y = nameCategory.y

I found my button! It was right behind the textField. :stuck_out_tongue: