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

[pickers] Allow to customize the size / density of the views #12676

Open
kovryzhenko opened this issue Apr 4, 2024 · 5 comments
Open

[pickers] Allow to customize the size / density of the views #12676

kovryzhenko opened this issue Apr 4, 2024 · 5 comments
Labels
component: pickers This is the name of the generic UI component, not the React module! new feature New feature or request

Comments

@kovryzhenko
Copy link

kovryzhenko commented Apr 4, 2024

Summary

add Size prop or something to your DateRangeCalendar component (and to others similar) FFS.

Examples

wanna change size thats all.

Motivation

wanna change size thats all.

Search keywords: calendar, size

Search keywords:

@kovryzhenko kovryzhenko added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Apr 4, 2024
@danilo-leal danilo-leal transferred this issue from mui/material-ui Apr 4, 2024
@danilo-leal danilo-leal changed the title could you add Size prop to your DateRangeCalendar component (and to other similar) [DateRangeCalendar] Could you add a size prop? Apr 4, 2024
@danilo-leal danilo-leal added new feature New feature or request component: DateTimeRangePicker The React component labels Apr 4, 2024
@michelengelen michelengelen changed the title [DateRangeCalendar] Could you add a size prop? [pickers][DateRangeCalendar] Could you add a size prop? Apr 4, 2024
@michelengelen
Copy link
Member

Hey @ridl27 I will add this to our board.
Thanks for raising this feature request! 🙇🏼

@michelengelen michelengelen added enhancement This is not a bug, nor a new feature and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Apr 4, 2024
@flaviendelangle
Copy link
Member

Not sure to understand what "size" would do here.
Does it impact the size of the input?
Does it change the spacings in the calendar?

@flaviendelangle flaviendelangle added the status: waiting for author Issue with insufficient information label Apr 4, 2024
@kovryzhenko
Copy link
Author

Not sure to understand what "size" would do here. Does it impact the size of the input? Does it change the spacings in the calendar?

It should change not only spacings but also width, height, font-size and other styles. So we could adjust the "size" of the DateRangeCalendar component. Call this prop as you want, just gimme possibility to make it bigger :D

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels Apr 4, 2024
@LukasTy LukasTy added component: pickers This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer enhancement This is not a bug, nor a new feature component: DateTimeRangePicker The React component labels Apr 4, 2024
@LukasTy LukasTy changed the title [pickers][DateRangeCalendar] Could you add a size prop? [pickers] Could you add a size prop? Apr 4, 2024
@flaviendelangle
Copy link
Member

In this case it's the point 6 of #7440 but in the reverse direction
I think we can keep this issue as the main source of truth for configurable density / size on the picker views.

@flaviendelangle flaviendelangle changed the title [pickers] Could you add a size prop? [pickers] Allow to customize the size / density of the views Apr 4, 2024
@kovryzhenko
Copy link
Author

In this case it's the point 6 of #7440 but in the reverse direction I think we can keep this issue as the main source of truth for configurable density / size on the picker views.

basically, we need these components to be adaptive.
ok. thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pickers This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants