QLineEdit padding problem with QTreeWidget
Hi,
I have this stylesheet part loaded using "App.setStyleSheet( StyleSheet );" :
Code:
{
background-color: #201F1F;
border: 1px solid #3A3939;
border-radius: 2px;
color: silver;
padding: 2px;
}
All works good everywhere but not with all tree widget because of "padding: 2px;".
Image of the problem : http://zupimages.net/up/14/47/y5wz.png
How remove this problem ?
Thanks for the help
Re: QLineEdit padding problem with QTreeWidget
Make the height tall enough to accommodate the line edit borders, padding and text. Currently it looks like the height of the item size hint is too small. If I recall correctly, the border is usually suppressed for line editors embedded as item view editors.