Discussion:
Increasing the line spacing in a label control
(too old to reply)
Jan Spooren
2005-12-01 10:04:24 UTC
Permalink
Hi,

I am developing a .NET application which is being localized in Japanese. In
English, the text in a label control which has multiple lines of text looks
okay, however when setting the language of the Form to Japanese, the line
spacing of the Label control is much too short: There is no space at all
between the different lines of text! I seem to be unable to increase this
line spacing!

I assume this is something that you probaly run into everyday and that there
must be a simple solution to this? Any help or suggestions would be greatly
appreciated!!!

Many thanks!
Jan.
Takeshi SHIGIHARA
2005-12-02 03:41:18 UTC
Permalink
Post by Jan Spooren
Hi,
Hello.
I am not a C# programmer but C++
Post by Jan Spooren
I am developing a .NET application which is being localized in Japanese. In
English, the text in a label control which has multiple lines of text looks
okay, however when setting the language of the Form to Japanese, the line
spacing of the Label control is much too short: There is no space at all
between the different lines of text! I seem to be unable to increase this
line spacing!
It seems a characteristics of the Japanese font.
Japanese fonts are bit larger than English fonts and less line spacing.
Post by Jan Spooren
I assume this is something that you probaly run into everyday and that there
must be a simple solution to this? Any help or suggestions would be greatly
appreciated!!!
I don't care if 1-3 lines.
More than 3, I usualy split the string and make more label controls.
Rarely I use RichEdit control with no border, readonly mode.
or create some custom controls.

----- Takeshi SHIGIHARA
***@tka.att.ne.jp
***@po.jah.ne.jp -----
うまい、早い、安い/2つだけ選べ--RFC1925.
Jan Spooren
2005-12-05 08:02:26 UTC
Permalink
Thanks Shigihara-san,

I found out that if I change the font used in labels from the default
"Microsoft Sans Serif 8.25pt" to Verdana (same point size), then the
characters are exactly the same, however there is more whitespace between
the lines. It's only about 2 pixels, but it makes a huge difference in
readability and my Japanese client is much happier now...

Kind regards,
Jan Spooren.
Post by Takeshi SHIGIHARA
Post by Jan Spooren
Hi,
Hello.
I am not a C# programmer but C++
Post by Jan Spooren
I am developing a .NET application which is being localized in Japanese.
In English, the text in a label control which has multiple lines of text
looks okay, however when setting the language of the Form to Japanese,
the line spacing of the Label control is much too short: There is no
space at all between the different lines of text! I seem to be unable to
increase this line spacing!
It seems a characteristics of the Japanese font.
Japanese fonts are bit larger than English fonts and less line spacing.
Post by Jan Spooren
I assume this is something that you probaly run into everyday and that
there must be a simple solution to this? Any help or suggestions would
be greatly appreciated!!!
I don't care if 1-3 lines.
More than 3, I usualy split the string and make more label controls.
Rarely I use RichEdit control with no border, readonly mode.
or create some custom controls.
Loading...