0
Hello! I made a form using the library Materialskin
In this library there is a component called Listview (which would be similar to Winforms' Listview) that the first column gets bugged. Look at this image:
The correct would be to have the three dots as well as the CPF-CNPJ column, but the first column is superimposed on all the others when it has many characters. Does anyone know what might be the solution to this?
Edit 1 : Preferably a way other than simply giving a substring in the first column characters!!
Edit 2: I am filling the table with the following code:
fornecedores = new Fornecedor().retornaItens(tbFiltro.Text,30);
lstFornecedores.Items.Clear();
foreach (Fornecedor fornecedor in fornecedores)
{
var item = new ListViewItem(new string[ {fornecedor.nome,fornecedor.cpfcnpj,fornecedor.tipoPessoa.ToString(),fornecedor.endereco});
lstFornecedores.Items.Add(item);
}
If you add the code instead of the image, it’s easier to help you.
– Leandro Angelo
put friend!
– Messias Tayllan
Already tried to edit column width?
lstFornecedores.Column[index da coluna].Width = "tamanho desejado";
does not forget that he is a whole.– Paulo Ricardo
Yes, the width of each column is already defined, this problem only occurs in the first column. If you notice, the CPF/CNPJ column already does what I want automatically.
– Messias Tayllan