|
@@ 1673-1675 (lines=3) @@
|
| 1670 |
|
} |
| 1671 |
|
$opt['mk']['if']['a'] = array(0.5, 0.5); |
| 1672 |
|
// buttonAlignX: Controls how space is distributed from the left of the button face with respect to the icon. |
| 1673 |
|
if (isset($prop['buttonAlignX'])) { |
| 1674 |
|
$opt['mk']['if']['a'][0] = $prop['buttonAlignX']; |
| 1675 |
|
} |
| 1676 |
|
// buttonAlignY: Controls how unused space is distributed from the bottom of the button face with respect to the icon. |
| 1677 |
|
if (isset($prop['buttonAlignY'])) { |
| 1678 |
|
$opt['mk']['if']['a'][1] = $prop['buttonAlignY']; |
|
@@ 1677-1679 (lines=3) @@
|
| 1674 |
|
$opt['mk']['if']['a'][0] = $prop['buttonAlignX']; |
| 1675 |
|
} |
| 1676 |
|
// buttonAlignY: Controls how unused space is distributed from the bottom of the button face with respect to the icon. |
| 1677 |
|
if (isset($prop['buttonAlignY'])) { |
| 1678 |
|
$opt['mk']['if']['a'][1] = $prop['buttonAlignY']; |
| 1679 |
|
} |
| 1680 |
|
// buttonFitBounds: If true, the extent to which the icon may be scaled is set to the bounds of the button field. |
| 1681 |
|
if (isset($prop['buttonFitBounds']) AND ($prop['buttonFitBounds'] == 'true')) { |
| 1682 |
|
$opt['mk']['if']['fb'] = true; |