Tlistview view on QT only will not show text if icon is assigned from imagelist to tlistitem.
Original Reporter info from Mantis: snorkel
-
Reporter name:
Original Reporter info from Mantis: snorkel
- Reporter name:
Description:
When using a imagelist with a tlistview the tlistitem will not show text after a image index is set.
Works fine on all other widget sets, just not QT.
Steps to reproduce:
procedure TMainDatamod.addmsg(themsg:string;icon:TmsgIconType);
var
datestr:string;
aitem:TListItem;
begin
datestr:=formatdatetime('mm/dd/yyyy HH:MM:SS AM/PM',now);
aitem:= mainform.messages_lv.Items.Add;
aitem.ImageIndex:=integer(icon);
aitem.Caption:=format('%-32s %s',[datestr,themsg]);
mainform.messages_lv.Items.Item[mainform.messages_lv.Items.Count-1].MakeVisible(false);
end;
Mantis conversion info:
- Mantis ID: 27696
- OS: Netrunner KDE 64bit
- OS Build: 2014.09
- Platform: QT
- Version: 1.4RC2
- Fixed in version: 1.5 (SVN)
- Fixed in revision: 48475 (#997a2f11)
- Monitored by: » snorkel (snorkel)
- Target version: 1.4