mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 05:51:58 +01:00
ide: clip strings in the build lazarus dialog - so they can't overlap each-over (issue #0009791)
git-svn-id: trunk@25909 -
This commit is contained in:
parent
41cf9ca1b8
commit
a8458a680e
@ -994,14 +994,14 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// draw description
|
// draw description
|
||||||
ItemsListBox.Canvas.Brush.Style:=bsClear;
|
ItemsListBox.Canvas.Brush.Style := bsClear;
|
||||||
ItemsListBox.Canvas.TextOut(x+2,
|
ItemsListBox.Canvas.TextRect(Rect(x, ARect.Top, ItemsListBox.ClientWidth - 90, ARect.Bottom), x + 2,
|
||||||
ARect.Top+(ARect.Bottom-ARect.Top-TxtH) div 2,
|
ARect.Top + (ARect.Bottom - ARect.Top - TxtH) div 2,
|
||||||
CurStr);
|
CurStr);
|
||||||
// draw make mode text
|
// draw make mode text
|
||||||
x:=ItemsListBox.ClientWidth-90;
|
x := ItemsListBox.ClientWidth - 90;
|
||||||
ItemsListBox.Canvas.TextOut(x+2,
|
ItemsListBox.Canvas.TextRect(Rect(x, ARect.Top, ItemsListBox.ClientWidth, ARect.Bottom), x + 2,
|
||||||
ARect.Top+(ARect.Bottom-ARect.Top-TxtH) div 2,
|
ARect.Top + (ARect.Bottom - ARect.Top - TxtH) div 2,
|
||||||
GetTranslatedMakeModes(CurItem.MakeMode));
|
GetTranslatedMakeModes(CurItem.MakeMode));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user