[travis] Add protection against unscaled sizes

As pointed out by @poire-z

* [fix, UX] SkimToWidget scaling

* [fix] Button scaling

* [fix, UX] Scale ProgressWidget

* [fix, UX] Scale confirmbox

* [fix, UX] Scale just about everything
This commit is contained in:
Frans de Jonge
2017-09-11 10:32:39 +02:00
parent 8babe57106
commit 9eb073a524
49 changed files with 270 additions and 244 deletions

View File

@@ -8,8 +8,8 @@ describe("ProgressWidget widget", function()
it("should not crash with nil self.last", function()
local progress = ProgressWidget:new{
width = 100,
height = 50,
width = Screen:scaleBySize(100),
height = Screen:scaleBySize(50),
percentage = 5/100,
ticks = {1},
}