Merge pull request #874 from bskrtich/develop
Fix incorrect image size between windows and mac.
This commit is contained in:
commit
13dc3bb2e4
@ -61,9 +61,9 @@ class Image extends Frame
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
$this->setUnit('px');
|
$this->setUnit(self::UNIT_PT);
|
||||||
|
|
||||||
// Backward compatilibity setting
|
// Backward compatibility setting
|
||||||
// @todo Remove on 1.0.0
|
// @todo Remove on 1.0.0
|
||||||
$this->setWrap(self::WRAPPING_STYLE_INLINE);
|
$this->setWrap(self::WRAPPING_STYLE_INLINE);
|
||||||
$this->setHPos(self::POSITION_HORIZONTAL_LEFT);
|
$this->setHPos(self::POSITION_HORIZONTAL_LEFT);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user