8365:cde9bde830ea | 8366:2a9f5153c438 |
---|---|
240 ) | 240 ) |
241 if w == 0: | 241 if w == 0: |
242 return 0 | 242 return 0 |
243 return w + spacing * 2 | 243 return w + spacing * 2 |
244 | 244 |
245 | |
245 class EricClearableLineEdit(EricLineEdit): | 246 class EricClearableLineEdit(EricLineEdit): |
246 """ | 247 """ |
247 Class implementing a line edit widget showing some inactive text and a | 248 Class implementing a line edit widget showing some inactive text and a |
248 clear button, if it has some contents. | 249 clear button, if it has some contents. |
249 """ | 250 """ |