Menu

#1370 hardcoded 2 pixel borders

open
5
2002-12-28
2002-12-28
Anonymous
No

in tk_optionMenu{} (optMenu.tcl file), border width and
highlight thickness are hardcoded to 2 (ugly) pixels,
thus preventing setting an application wide 1 pixel
border width for widgets, using the option command.
(bug present in both 8.3 and 8.4 releases)

Jean-Luc Fontaine (jfontain@free.fr)

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-02-13

    Logged In: YES
    user_id=72656

    you can always configure [winfo parent] of what is returned
    to you, but I think nowadays most people use comboboxes anyway.

     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    You don't need [winfo parent] since you're supplying the
    name of the menubutton as an argument. OTOH, as Jeff says,
    a combobox is a better choice for most GUIs.

     
MongoDB Logo MongoDB