sharebophar

Results 3 issues of sharebophar

我给UILabel加了一个自动高度的函数 ``` -- 宽度不变,自动高度 function UILabel:setAutoHeight() local width,height = self:getSize() local autoHeight = self.drawable:getHeight() self:setSize(width, autoHeight) return autoHeight end ``` 然后初始化控件 ``` function InitContenter() love.graphics.setBackgroundColor(35/255, 42/255, 50/255, 1) local mgr...

``` ------------------------------------- -- (callback) -- on bar move ------------------------------------- function UIScrollBar:onBarMove(x, y, dx, dy) if not self.barDown then return end local bar = self.bar if self.dir == "vertical" then local...

System.NotImplementedException: Unsupported "NORMAL" DXGI_FORMAT.R8G8B8A8_UNORM