Recently started on my first project and am having issues with my forgot password button in customtkinter. My main problem is in line 44 and 45 I want it to just be words that can be clicked but an entire button is being made. I feel really dumb right now.
Please do not post code as a screenshot - it is hard for the visually
impaired and email users do not receive it at all - they have to visit
the web forum. Instead, copy/paste the code between code fences, like
this:
```
your code
gets pasted here
```
To your problem: I’m not sure what you want precisely. But maybe you
want to make a Label
instead of Button
? I am unsure of what you’re
after.
Sorry it’s my first time using a forum. I don’t know what you mean by code fences to be quite honest I am new.
When I use a label it isn’t able to be interacted with. I want it to be pressed I just don’t want the button part around it I just want it to be the words that can be clicked.
Sorry it’s my first time using a forum. I don’t know what you mean by
code fences to be quite honest I am new.
That’s fine - we’re all new to things.
Code fences are those lines of triple backticks in the example. There’s
a button in the compose bar </>
to make some. The tell the forum that
the text between those lines should be presented as-is, fixed width,
with no interpretation of spcial characters. This is very important when
pasting code into a message.
When I use a label it isn’t able to be interacted with. I want it to be pressed I just don’t want the button part around it I just want it to be the words that can be clicked.
Ah. See if there are options to control how the button borders and/or
background are drawn - you probably just need to tweak those to get the
appearance you want.
Thank you! I just figured it out I changed the foreground color so it matches my GUI and it solved my issue.