Hi,
I want to use a RadListView in Icons View Type showing long label.
Here is the code :
The problem is when the list size is to small, a scroll bar appears, but an empty space appears too on the top of the list, and the last item of the list becomes hidden (even in scrolling down the list)
The first image shows the list with all items, the second one has too little width (and an empty space on the top), the third shows the list with an invisible item
Could you help me with this?
Thanks
Regards,
I want to use a RadListView in Icons View Type showing long label.
Here is the code :
' 'RadListView1 ' Me.RadListView1.AllowArbitraryItemHeight = TrueMe.RadListView1.AllowEdit = FalseMe.RadListView1.AllowRemove = FalseMe.RadListView1.FullRowSelect = FalseMe.RadListView1.GroupItemSize = New System.Drawing.Size(200, 20) Me.RadListView1.ImageList = Me.ImageList1 ListViewDataItem1.Image = CType(resources.GetObject("ListViewDataItem1.Image"), System.Drawing.Image) ListViewDataItem1.ImageKey = ""ListViewDataItem1.Text = "ListViewItem 1 With a long label"ListViewDataItem1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText ListViewDataItem2.Image = CType(resources.GetObject("ListViewDataItem2.Image"), System.Drawing.Image) ListViewDataItem2.ImageIndex = 0 ListViewDataItem2.Text = "ListViewItem 2 With a long label"ListViewDataItem2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText ListViewDataItem3.Image = CType(resources.GetObject("ListViewDataItem3.Image"), System.Drawing.Image) ListViewDataItem3.ImageIndex = 0 ListViewDataItem3.Text = "ListViewItem 3 With a long label"ListViewDataItem3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText Me.RadListView1.Items.AddRange(New Telerik.WinControls.UI.ListViewDataItem() {ListViewDataItem1, ListViewDataItem2, ListViewDataItem3}) Me.RadListView1.ItemSize = New System.Drawing.Size(148, 20) Me.RadListView1.Location = New System.Drawing.Point(329, 34) Me.RadListView1.Name = "RadListView1"Me.RadListView1.Size = New System.Drawing.Size(155, 94) Me.RadListView1.TabIndex = 0 Me.RadListView1.Text = "RadListView1"Me.RadListView1.ViewType = Telerik.WinControls.UI.ListViewType.IconsViewThe problem is when the list size is to small, a scroll bar appears, but an empty space appears too on the top of the list, and the last item of the list becomes hidden (even in scrolling down the list)
The first image shows the list with all items, the second one has too little width (and an empty space on the top), the third shows the list with an invisible item
Could you help me with this?
Thanks
Regards,