Closed AlanC5432 closed 4 months ago
Describe the bug When placing a CTKEntry text value in the properties, The Preview does not show it.
When generating code the following line is present:
ctkentry1.configure(text='ctkentry1')
and the following Value Error is given during runtime: ValueError: ['text'] are not supported arguments.
uses text= to set the text value when generating code
To Fix the issue I need to change text= to placeholder_text= as that is the correct property to use in CTKEntry.
ctkentry1.configure(placeholder_text='ctkentry1')
To Reproduce Steps to reproduce the behavior:
Expected behavior running python should show a window with a label and a text box
Screenshots If applicable, add screenshots to help explain your problem.
Your Environment (please complete the following information):
Additional context The property of a CTKEntry widget should be placeholder_text and not text.
Hello @AlanC5432, thanks for the bug report.
Fixed in pygubu v0.35.5
Regards. Alejandro A.
Describe the bug When placing a CTKEntry text value in the properties, The Preview does not show it.
When generating code the following line is present:
ctkentry1.configure(text='ctkentry1')
and the following Value Error is given during runtime: ValueError: ['text'] are not supported arguments.
uses text= to set the text value when generating code
To Fix the issue I need to change text= to placeholder_text= as that is the correct property to use in CTKEntry.
ctkentry1.configure(placeholder_text='ctkentry1')
To Reproduce Steps to reproduce the behavior:
Expected behavior running python should show a window with a label and a text box
Screenshots If applicable, add screenshots to help explain your problem.
Your Environment (please complete the following information):
Additional context The property of a CTKEntry widget should be placeholder_text and not text.