View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0021824LazarusLCLpublic2012-04-21 10:582012-04-21 19:46
ReporterHexNihilo 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.1 (SVN)Product Build 
Target VersionFixed in Version 
Summary0021824: TStaticText : Color property and BorderSpacing's properties do not work
DescriptionHello,

Code :
 with StaticText1 do begin
   AutoSize := False;
   Width := 150;
   Height := 40;
   BorderStyle := sbsSingle;
   Color := clRed; { ! No effect}
   Font.Color := clBlue; { OK }
   {Also no effect : }
   BorderSpacing.InnerBorder := 10;
   {or BorderSpacing.Left := 10;
       BorderSpacing.CellAlignVertical ??? }
 end;

Regards.
Additional InformationLazarus-1.1-36942-fpc-2.6.1-20120421-win32.exe
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetWin32/Win64
Attached Files

- Relationships
related to 0021870new Changing Button1.Font.Color does nothing 

-  Notes
(0058833)
Zeljan Rikalo (developer)
2012-04-21 12:19

Do they work in Delphi ?
(0058836)
HexNihilo (reporter)
2012-04-21 15:46

I don't know. No Delphi installed on my PC.
BorderSpacing seems to work. I did not use correctly the anchors.

But Color property does not work.
Regards.
(0058849)
Avishai (reporter)
2012-04-21 19:46

I just tried Color in Delphi6 and it works.

- Issue History
Date Modified Username Field Change
2012-04-21 10:58 HexNihilo New Issue
2012-04-21 10:58 HexNihilo Widgetset => Win32/Win64
2012-04-21 12:19 Zeljan Rikalo Note Added: 0058833
2012-04-21 15:46 HexNihilo Note Added: 0058836
2012-04-21 19:46 Avishai Note Added: 0058849
2012-04-27 23:35 Juha Manninen Relationship added related to 0021870



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker