Fixed operate with oven and some ui stuff

This commit is contained in:
Pao
2023-01-23 10:05:32 +01:00
parent 6b39ff83fd
commit 489ea548a0
5 changed files with 7 additions and 7 deletions

View File

@@ -604,11 +604,11 @@ end
function ISHealthPanel:createChildren()
ISHealthPanel_createChildren(self)
self.fitness:setWidth(self.fitness:getWidth() / 1.2)
self.fitness:setWidth(self.fitness:getWidth() / 1.4)
self.TOCButton = ISButton:new(self.fitness:getRight() + 10, self.healthPanel.y, 70, 20, "The Only Cure", self,
self.TOCButton = ISButton:new(self.fitness:getRight() + 10, self.healthPanel.y, 60, 20, "", self,
ISNewHealthPanel.onClick_TOC)
--self.TOCButton:setImage(getTexture("media/ui/TOC/iconForMenu.png"))
self.TOCButton:setImage(getTexture("media/ui/TOC/iconForMenu.png"))
self.TOCButton.anchorTop = false
self.TOCButton.anchorBottom = true
self.TOCButton:initialise()