Ticket #403 (closed enhancement: fixed)
Supporting images on QButtons through HTML <button> tag
| Reported by: | grossini | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1.1 Stable |
| Component: | Other | Version: | 1.1 Development |
| Keywords: | Qbutton | Cc: |
Description
the <button> tag of HTML 4.0 let us create colorful buttons that can be decorated with both images and fancy text.
At moment only text con be personalized in QButton.
With the proposed patched QButtonBase.class we can use <button> </button> tag introduced by HTML 4.0 and our ->text attribute can contain image.
e.g. $this->Text = '<img src="' . VIRTUAL_DIRECTORY . IMAGE_ASSETS . '/save_16.png">' . 'Download CVS';
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
