Thanks for the clarification, especially for menubarsize. It all makes a bit more sense to me now.
Roman On Don, 2017-02-16 at 15:18 +0100, IOhannes m zmoelnig wrote: > On 2017-02-16 14:39, Lucas Cordiviola wrote: > > > > Here`s the backup: > > > > line 306 > > > > # some platforms have a menubar on the top, so place below them > > set ::menubarsize 0 > > # Tk handles the window placement differently on each > > # platform. With X11, the x,y placement refers to the > > window > > # frame's upper left corner. http://wiki.tcl.tk/11502 > > set ::windowframex 3 > > set ::windowframey 53 > > # TODO add wm iconphoto/iconbitmap here if it makes sense > > > > > > > > Try changing these: > > > > set ::windowframex 3 > > set ::windowframey 53 > > > > try both to 0 > ??? > > it seems like you are changing some random variables to achieve an > unrelated goal. > the windowfram{xy} vars have nothing to do with the size of Pd's > menu. > > just for reference: > > $::menubarsize > is the size of the OSX menubar on top of the screen. > this is the menubar with spotlight and whatnot; it has a fixed size > (unchangable by any application, including Pd). > this is totally unrelated to the size of Pd's menu on systems that > don't > have a menubar. > > $::windowframex > this is the width of the window decoration (the tiny border left to > the > actual window content. > > $::windowframey > similar to $::windowframex, this is the height of the window > decoration > (including any window title) > > all those variables are used for window placement. > as the comments suggest, tcl/tk handles window positioning different > on > various platforms. sometimes the window position includes the window > decoration, and sometimes not. these variables are an attempt to open > the window at the same place where you closed them. > as mentioned in the comment, there's more info in http://wiki.tcl.tk/ > 11502 > > if you want to change the size of the Pd-menu, you have to look > somewhere else... > > fgamsdr > IOhannes > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.puredata.info/lis > tinfo/pd-list
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
