2009/1/4 Alexander Wagner <[email protected]>

> Pascal Georges wrote:
>
> Hi!
>
>             Those buttons are classical, (no style) and use the "normal"
>>            font. Maybe
>>
>>        try to change the default font ?
>>        I suspect a problem in getting font metrics on your platform.
>>
>>        Pascal
>>
>>    I tried many fonts and the problem persists, when I change the size
>>    to some value over 20 the height seems to be ok.
>>
>>
>> Did you try various themes (options -> themes) ?
>> On Linux, whatever setting I choose, I don't approach the poor look of
>> your screenshot ... So it is hard for me to fix this.
>>
>
> Pascal, I think this is the similar problem as those I
> reported for the menu buttons which use a larger font than
> the other buttons. While back I sent you the font scales as
> they would be required to mimic 3.6.26. Now, I think one can
> read it either way: I read it that the menu buttons get to
> big a font, Israel reads it the other way round that the
> font for the normal buttons (which is the "small" style) is
> to small compared to the regular font.
>
> As I mentioned back then I _think_ that some button types
> are not used consistently within scid, ie. something that is
> a dialog button should be a button and vice versa. Surely,
> one would not want to set the "small" font to the same as
> the "regular" font.
>
> To see where this happend I found it helpful to set one font
> to some serif type and the other one to a sans type font.
> You'll then notice a funny mixture between sans and serif
> fonts within certain dialogues even for different controls
> that would have similar functions compared to the dialogues
> context.
>
> It's no critical error though, I think some unification of
> this styles might be helpful and could even come up
> automagically with implementation of themes in the long run.
> (Though I'd then like to learn how to build a theme for
> tcl/tk to get a decent font scheme ;)


Alexander, please read code of header.tcl at line 176 and just below, and
tell me why this leads to a text higher than its container (hence the awful
MacOs' screenshot above).

Pascal
------------------------------------------------------------------------------
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to