Open MichaelMrt opened 1 year ago
Is there a way to style TCPDF buttons?
$pdf->Button('test', 50, 7, 'sometext', 'print("test"); ' . 'Print()', array('lineWidth' => 2, 'borderStyle' => 'beveled', 'fillColor' => array(100, 0, 0), 'strokeColor' => array(0, 100, 0)));
The fillColor and strokeColor seem to have no effect on the button. I always get grey buttons.
I'd like to change the background color and remove the border.
Is there a way to style TCPDF buttons?
$pdf->Button('test', 50, 7, 'sometext', 'print("test"); ' . 'Print()', array('lineWidth' => 2, 'borderStyle' => 'beveled', 'fillColor' => array(100, 0, 0), 'strokeColor' => array(0, 100, 0)));
The fillColor and strokeColor seem to have no effect on the button. I always get grey buttons.
I'd like to change the background color and remove the border.