ubports / telegram-app

Unofficial Telegram App for Ubuntu Desktop & Mobile
GNU General Public License v3.0
55 stars 23 forks source link

Relative unit for the radius (and more) #111

Closed mymike00 closed 6 years ago

mymike00 commented 6 years ago

changed from Devices.density to units.gu change the value if you like more another one

mymike00 commented 6 years ago

okay, will do in the next days, when I'll find some spare time

mymike00 commented 6 years ago

is there any direct proportion between Devices.density and units.gu ? Like (I invent) 1 Devices.density is equal to 3 units.gu ... so it would much easier substitute every occurrence, instead of changing one by one, testing if it's ok or not...

Flohack74 commented 6 years ago

Well compare with what you found for the radius where you assumed gu 0.7 - what was the calculation before giving?

mymike00 commented 6 years ago

from 5.5*Devices.density to units.gu(0.7) should be about 1*Devices.density is equal units.gu(0.127) but I'm not sure that 5.5 correspond to units.gu(0.7) ...