Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ce3ee4d099636b30d00f23e172f8290e8cd11b39
Ticket: 341faffaf9d58d42bbcc44f79c9b0baf787fb839
Tk radiobutton indicator does not change size with font size
User & Date: bigfaceworm on 2017-09-05 19:20:46
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Currently porting an application from 8.4 to 8.6.  Using official builds from Active State, version 8.6.6
    
    The radiobutton command has changed looks - the indicator is a circle now instead of a diamond.  Barring an ability to configure the radio button back to using the original diamond, we'd like the indicator to resize appropriately with the size of the radiobutton itself.  This sample script creates/packs 3 radiobuttons.  In 8.4, the indicator grows to fill the space appropriately, in 8.6 the indicator remains a constant size and frankly looks silly on larger fonts.
    
    set somevar 0
    foreach fontsize {6 10 16 24 32} {
      set bname bname$fontsize
      radiobutton .$bname -text "button $bname" -variable somevar -value $bname
      set f [font actual [.$bname cget -font]]
      set newfont [eval font create font$bname $f]
      font configure font$bname -size $fontsize
      .$bname configure -font font$bname
      pack .$bname
    }
    
  5. foundin changed to: "8.6.6"
  6. is_private changed to: "0"
  7. login: "bigfaceworm"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5cf9569cda9cff4e20f184ff96974aff0f932dfb"
  10. resolution changed to: "None"
  11. severity changed to: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "bigfaceworm"
  14. subsystem changed to: "18. Commands M-Z"
  15. title changed to:
    Tk radiobutton indicator does not change size with font size
    
  16. type changed to: "Bug"