Ticket UUID: | 75a9388f1fc322295561418ebc332df2539c6494 | |||
Title: | menu: allow user to use the menu margin. | |||
Type: | RFE | Version: | trunk | |
Submitter: | bll | Created on: | 2018-09-03 15:24:13 | |
Subsystem: | 02. Appearance | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2019-12-04 22:41:47 | |
Resolution: | Wont Fix | Closed By: | bll | |
Closed on: | 2019-12-04 22:41:47 | |||
Description: |
Menus have a left margin, used to hold the indicator for checkbutton and radiobutton menu entries. This margin can be hidden by the user. checkbutton and radiobutton entries can use the -image and -selectimage options to set images to use for deselected and selected states. These images are displayed as usual in the label area. .menu entryconfigure $idx -image unsel.png -selectimage sel.png -compound left If the user wants to replace the standard checkbutton and radiobutton indicators, -hidemargin must be set to true. Other menu entry labels are no longer aligned with the checkbutton and radiobutton labels. It would be nice to have some more options: -marginimage, -selectmarginimage. (a) For checkbutton and radiobutton entries, if -marginimage is specified, the standard indicator would be replaced, and the margin would be used to display the images. (b) Other entries could use -marginimage to display icons for the menu entries. It is common nowadays to display icons for various menu entries to help the user differentiate between menu entries. -marginimage and -image should be separate images, and the menu should be able to display both. Likewise for -selectimage and -selectmarginimage. | |||
User Comments: |
bll added on 2019-12-04 22:41:47:
Closing, as I now have my own package that can do this. bll added on 2018-09-13 15:58:24: Note that the -hidemargin option is documented as per entry. But in reality, all margins for all entries are hidden. Just fixing this would solve one issue. |