-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Following issue with ListView:
I've got a single column Listview.
Class CBasicWindow Extends CGUI
{
;...
lvItems := this.AddControl("ListView", "lvItems", "", "TITLE:")
;...
__New(data)
{
;...
this.lvItems.ModifyCol(1,floor(this.lvItems.Width * 0.995),"")
this.lvItems.Items.Clear()
Loop, parse, data, `n
{
this.lvItems.Items.Add("",A_LoopField)
}
this.Show("")
;...
}This results in following output Image
Issues are best illustrated, looking at the image:
- The border on the left side of my listview items seems to big in my personal opinion (green line in my image): the items should start right on the left border of the listview ...
- Unless I've explicitly given a title for the column (lvItems := this.AddControl("ListView", "lvItems", "", "TITLE:")), the title is not shown! Omitting this.lvItems.ModifyCol(1,floor(this.lvItems.Width * 0.995),"") the title is shown, but the column takes only a part of the width of the complete Listview. Modifying the column with a certain width brings the column to the desired width, but the title does not show up anymore ....
Conclusion:
- First column should start right on the left border of listview
- Title should show up correctly after modifying the Column width
- The initial column width of all columns should spawn the complete width of the ListView (for example with two columns each column should initially take 50% of the complete width (and not a fixed width - as it probably does now ...))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels