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

Enhance SearchBar control #4081

Closed
1 task done
ClearSafety opened this issue Oct 2, 2024 · 1 comment · Fixed by #4039
Closed
1 task done

Enhance SearchBar control #4081

ClearSafety opened this issue Oct 2, 2024 · 1 comment · Fixed by #4039
Assignees
Labels
controls enhancement Improvement/Optimization

Comments

@ClearSafety
Copy link

Duplicate Check

Describe the requested feature

The SearchBar control seems to be a junction of two controls, that properties are divided in "bar_..." and "view_...".
It's possible you set up the border radios of the view, by the property "view_shape", passing the class OutlinedBorder.
But there's no option to change the radios border of the "bar".

Suggest a solution

As it seems to be two controls put together, the solution solution should be create a property similar the "view_shape", where it could be possible to set the configuration of the border of the bar.
The images bellow you can see that I could set up a different border to the view. But the bar remains the same, very rounded.

Screenshots

class properties
Searchbar - visualization of the bar
Searchbar - visualization of the view

Additional details

The point is that I'm creating a form using various input controls, like TextField, DromDown and I'm configurating its border. I'd like to be able to do the same for the Searchbar control.

@ClearSafety
Copy link
Author

I've just realized that whilst for the view there is the property view_header_text_style, the same is not true for bar_hint_text.

@ndonkoHenri ndonkoHenri self-assigned this Oct 4, 2024
@ndonkoHenri ndonkoHenri added the enhancement Improvement/Optimization label Oct 4, 2024
@ndonkoHenri ndonkoHenri changed the title SearchBar. bar_shape Enhance SearchBarcontrol Oct 4, 2024
@ndonkoHenri ndonkoHenri changed the title Enhance SearchBarcontrol Enhance SearchBar control Oct 4, 2024
@ndonkoHenri ndonkoHenri moved this from 🆕 New to 👀 In review in Flet Development Oct 4, 2024
@InesaFitsner InesaFitsner removed their assignment Oct 7, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Flet Development Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
controls enhancement Improvement/Optimization
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants