TerraME / terrame

TerraME is a programming environment for spatial dynamical modelling
www.terrame.org
GNU Lesser General Public License v3.0
36 stars 13 forks source link

Problem with image dimensions on tests and examples #2314

Open avancinirodrigo opened 4 years ago

avancinirodrigo commented 4 years ago

Tests create the default image size of the OS and Qt version, whit this, each OS has with own log images, even in the same OS with a different version as ubuntu 14 and 18.

On examples, there is a .tme do set the image dimension, but terrame is not configuring correctly. It seems that terrame is setting the window size and not the canvas.

For reproducing, uncomment this line on src/test.lua:

-- the line below was removed because it caused errors in Linux, that resized the canvas
-- _Gtme.loadTmeFile(baseDir.."examples"..s..value..".lua")
local result, err = loadfile(baseDir.."examples"..s..value..".lua", 't', env)