Alexander Wagner wrote: Hi!
I've to come back to this issue, as I think I'm not the only one who uses the comment editor quite a lot. > Currently the comment editor (Ctrl-E) uses a pretty tiny > board, probably a bit larger would be in order (size 3 > e.g.). What about set board [::board::new $insertBoard.board 30] in line 184? This is slightly larger and makes it considerably easier to recognize the pieces. Additionally, the overall board matches approximately the size needed for both button rows anyway. > Additionally there's plenty of empty space from the left > to this board and then to the annotation symbols. I think > this is unintended. Maybe I stumble upon a window width > that was stored in the past and now I can not scale it > horizontally below that width? I find that this seems to happen du to wm minsize set in line 144. If I remove that line the window gets a bit smaller, the useless empty space is gone. Together with the above board size this gives an even more compact window. I do not know about side effects of removal of this, however. I never used wm minsize in my code. Should I? Does it serve a purpose I'm not aware of? > Finally, the comment entry field is IMHO to small and its > height does not scale properly with the windows height. In line 71 one can read: text $w.cf.text -width $::winWidth($w) -height $::winHeight($w) \ -background white -wrap word -font font_Regular \ -yscrollcommand ".commentWin.cf.scroll set" -setgrid 1 This should set the width and height for the entry correctly. However, if I check the values of this variables, both are 1 for the .commentWin, however, options.dat states different values. I played arround and found that using something like 40x10 would be about the minimum size I'd like to have, but I do not get this working even if I hack the values right into options.dat before starting scid. Additionally, the vertical scaling of this text field is "slower" than the scaling of the window itself, ie. empty space gets inserted above and below the text field. This happens in both, Classic mode as well as docking mode. I fear there's some sideeffect in the working, though I do not understand whats going on here, otherwise I'd have fixed it myself. Funny enough except the new controls used all around these lines all the code in commmentWin seems to be the same as in 3.6.26. > Probably one could make this entry area to scale up if I > scale the comment editor window? Maybe one could even save > space by arranging the annotation symbols vertically on > one side of the board? Alternatively, probably a pop up > menu like in the tree window, if it's about to save space? > I admit that I enter most NAGs by keyboard, so I rarely > use the buttons at all. That was working in 3.6.26, I just checked again. -- Kind regards, / War is Peace. | Freedom is Slavery. Alexander Wagner | Ignorance is Strength. | | Theory : G. Orwell, "1984" / In practice: USA, since 2001 ------------------------------------------------------------------------------ _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users