Comments (6)
The sizes in the ToggleGroup were changed in #8676 and @henon suggested staking them to the Button sizes for consistency. I said we should explore changing both to a new standard to improve the quality. This issue was opened to let us discuss this idea in a wider context. We need to at least make a decision on the Button and ToggleGroup sizes before v7 is released.
cc @Garderoben @mckaragoz @ScarletKuro @Mr-Technician
from mudblazor.
I am all for standardization of sizes. Currently the elements feel like a zoo if you align them next to each other ;).
Off-Topic: Maybe in the process we could aslo finally center the button text vertically. Currently it is slightly off-center (due to the font underline??) which is funny as the button caption is all capitalized. And even if it weren't, it would still look better were it perfectly centered.
from mudblazor.
Yes of course the component dimensions will have to shrink accordingly
from mudblazor.
We need to consider font sizes as well. Button and ToggleGroup (for example) should have the same dimensions AND text size. What does it look like in Material Design 2? That's what we should aim for.
from mudblazor.
The reason some controls look vertically offset is probably due to the excessive line height in the default typographies:
M2
from mudblazor.
@henon Just to confirm, if the density changes then the dimensions will change with it? Ex: Button 36px, Button Low Margin 34px #8946
from mudblazor.
Related Issues (20)
- Make palette classes immutable `record`s
- Improve accessibility of default palette HOT 5
- Unify Radio, Check Box, Switch
- Typography: Allow strings in all settings
- MudBlazor template is missing unhandled exceptions div HOT 6
- DataGrid: SortDefinitions paramter is ignored
- MudRadioButton and MudCheckbox Not working in Register page HOT 6
- Popups/overlays not visible in MudDataGrid HOT 6
- Cannot set identifier
- Globalization/localization does not work correctly with DefaultConverter HOT 4
- New Blazor Web App Project Using Pocketbase - Check It Out! HOT 1
- MudDataGrid: Expand/Collapse Detail Row Views (ChildRowContent) HOT 1
- Component label of MudTextField overwrites content when fields are prefilled by browser autocomplete feature HOT 2
- [MudCheckBox] - no element found for id: checkbox HOT 2
- [MudDataGridPager] BUG in 7.0.0-preview.3. "Rows Per Page" Dropdown does not work HOT 3
- Align closer with Material Design 2
- Automatically determine scrollbar width HOT 2
- Invert `MudThemeProvider.DefaultScrollbar`
- MudRating icons are gray HOT 2
- Rework Breadcrumbs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mudblazor.