Permalink
Browse files

Work around broken ToolButton with Style=tbsDropDown after translation:

  • Loading branch information...
ansgarbecker committed Jan 2, 2013
1 parent 068c263 commit becd4bdd0e3845f9ad7845fe7637460914878afa
Showing with 4 additions and 0 deletions.
  1. +4 −0 source/texteditor.pas
@@ -164,6 +164,10 @@ procedure TfrmTextEditor.FormCreate(Sender: TObject);
begin
InheritFont(Font);
TranslateComponent(Self);
// Work around broken dropdown toolbutton after translation:
// https://sourceforge.net/tracker/index.php?func=detail&aid=902470&group_id=74086&atid=539908
btnLinebreaks.Style := tbsButton;
btnLinebreaks.Style := tbsDropDown;
end;

0 comments on commit becd4bd

Please sign in to comment.