开发者

Lazarus 0.9.30 trimmed menu entries

I'm using Lazarus 0.9.30 and in both the IDE and the sample applications the menu entries a trimmed:

alt text http://www.freeimagehosting.net/uploads/94832ba880.png

I can live with this in the IDE, but for the aplications is there something I can do? Adding spaces to开发者_开发知识库 the end of the caption has solved the problem only in designer, at runtime the caption is still trimmed.

OS: Windows 7 x86

Lazarus versions tried:

  • Lazarus 0.9.30 + FPC 2.4.2
  • Lazarus 0.9.31-29752 + FPC 2.4.2 (2011-03-09)
  • Lazarus 0.9.31-29752 + FPC 2.4.3 (2011-03-09)

UPDATE:

The menu caption are trimmed when using Tahoma 8 for system menus. Changing the font size to 9 solves the problem, but it would be nice to find another workaround.


There is a check in the Editor options (General tab) called "Trim trailing spaces". You could try to uncheck it, though I am not sure this affects the .lfm, and you would need to check if it affects the rest of your code.

You can find more information about the Lazarus editor options here.

Said this, I would try to download the Lazarus 0.9.31 version from here. I have that version installed and have no problem with menu trimming.

HTH


Of course, I was setting the caption in the designer, but the actual value used at runtime was defined in code, so adding a space at the end of the caption is the workaround for the moment.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜