Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label and focused_border_color does not work #4662

Open
1 task done
iilter opened this issue Jan 7, 2025 · 2 comments
Open
1 task done

Label and focused_border_color does not work #4662

iilter opened this issue Jan 7, 2025 · 2 comments

Comments

@iilter
Copy link

iilter commented Jan 7, 2025

Duplicate Check

Describe the bug

When focused in TextFiled, the label does not write over the border and does not change focused_border_color.
flet version 0.25.2
macOS Sequoia 15.2

Code sample

Code
class Field(TextField):
    def __init__(self, label=None, autofocus=False):
        super().__init__()
        self.label = label
        self.autofocus = autofocus
        self.filled = True
        self.label_style = TextStyle(
            size=12
        )
        self.border = InputBorder.OUTLINE
        self.border_color = Colors.GREEN_500
        self.focused_border_color = Colors.ORANGE_800
        self.focused_color = Colors.ORANGE_700

To reproduce

Görüntü 7 01 2025 21 13

Expected behavior

No response

Screenshots / Videos

Captures

Görüntü 7 01 2025 21 13

Operating System

macOS

Operating system details

Sequoia 15.2

Flet version

Flet version 0.25.2

Regression

No, it isn't

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

No response

@iilter
Copy link
Author

iilter commented Jan 7, 2025

I Tried with previous version 0.25.1 and did not work.

@iilter
Copy link
Author

iilter commented Jan 8, 2025

I tried same code on windows and it worked.
I think the problem is in macOs.
How can I solve this problem.
Flet version 0.25.2
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant