View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034546 | Lazarus | LCL | public | 2018-11-12 20:53 | 2021-01-20 01:14 |
Reporter | cordylus | Assigned To | Jesus Reyes | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
OS | Windows | ||||
Product Version | 2.1 (SVN) | ||||
Summary | 0034546: Resizing headers of TCustomGrid resizes the wrong column with AutoFillColumns and only the first column with SizePriority > 0 | ||||
Description | Attaching an example that reproduces the behavior with TStringGrid. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | Win32/Win64 | ||||
Attached Files |
|
|
|
|
|
|
This behavior has no yet been decided, the purpose of Autofillcolumns is to restrict that all existing (visible) columns 'fill' the grid's client area, in your sample project, it's setup the columns with 'title' headers are fixed-size and the only resizeable column is the 'auto' column, now, if the auto column is shrunk there should be a empty grid space at the right, on the contrary if it's expanded it would mean to grow the grid area so a scrollbar should appear, both conditions are in conflict with the purpose of AutoFillColumns. I would agree on relaxing this restriction but I couldn't find a solution that works with both values of AutoFillColumns. One solution could be making of AutoFillColumns an enumerated type but we should first have to agree exactly how it will behave. Any ideas? |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-12 20:53 | cordylus | New Issue | |
2018-11-12 20:53 | cordylus | File Added: gridheaderresizebug.zip | |
2018-11-12 20:54 | cordylus | File Added: gridheaderresizebug.gif | |
2020-10-27 14:13 | Jesus Reyes | Assigned To | => Jesus Reyes |
2020-10-27 14:13 | Jesus Reyes | Status | new => assigned |
2021-01-20 01:14 | Jesus Reyes | Status | assigned => feedback |
2021-01-20 01:14 | Jesus Reyes | LazTarget | => - |
2021-01-20 01:14 | Jesus Reyes | Note Added: 0128441 |