Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,083
    • Issues 2,083
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #29182
Closed
Open
Created Dec 13, 2015 by FPC Admin account@fpc_adminOwner

TListView - Items height is changing when assigning ImageIndex in first row

Original Reporter info from Mantis: Dibo
  • Reporter name: Krzysztof Dibowski

Description:

Hi,

I have program where only one item can have image index. There is a weird height behavior. When assigning image in first row then all items height is changed to bigger. If I set image to item > 1 then all heights back to old size. See attach demo and video.
I guess that it is some kind of image and text height calculation. Maybe it could be calculated when SmallImages is assigned (from TImageList.Height)?

Regards

Steps to reproduce:

Run attached demo and double click on first item, then double click on rest items. Demo is based on OwnerData but same problem with normal state

Additional information:

Lazarus 1.7 from SVN
FPC 2.6.4
Kubuntu 14.04 64 bit
Qt widgetset

Mantis conversion info:

  • Mantis ID: 29182
  • OS: Kubuntu
  • OS Build: 14.04 64 bit
  • Platform: Linux
  • Version: 1.5 (SVN)
  • Fixed in revision: 50785 (#8115c28e)
Assignee
Assign to
Time tracking