-
As the question above says, can you change the border width and color of a CTKLabel? |
Beta Was this translation helpful? Give feedback.
Answered by
32-git
Sep 3, 2022
Replies: 1 comment 1 reply
-
Well I found a workaround which is using a CTKFrame and defining the border width and color there. Afterwards, simply place the CTKLabel in the frame (master=frame). Don't define the width of the label inside, that should be defined in the frame itself, so all there needs to be in the label is the master, text maybe and the corner radius. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
32-git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well I found a workaround which is using a CTKFrame and defining the border width and color there. Afterwards, simply place the CTKLabel in the frame (master=frame).
Don't define the width of the label inside, that should be defined in the frame itself, so all there needs to be in the label is the master, text maybe and the corner radius.