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

Fix DataGrid GroupRow styles #370

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

sn4k3
Copy link

@sn4k3 sn4k3 commented Dec 28, 2024

This PR aim to fix the DataGrid GroupRow styles as explaned in #363

(Help wanted) It still has some annoyances I can't get to work:

  • When click on expander arrow it will change arrow state but does not expand nor hide
  • When click on header it will expand and hide but not change arrow state
  • Missing Suki animations for expander
SukiUI.Demo_2024-12-28_17-59-15.mp4

As we don't include DataGrid theme from Avalonia there are many things missing, as for example, we can't aim DataGridRow type for inline styling of row because it does not exists as ControlTheme: <ControlTheme x:Key="{x:Type DataGridRow}" TargetType="DataGridRow">.
A better approach would be include default DataGrid theme and override the key parts on Suki, or copy over from Avalonia and change every element to match Suki.
The Fluent theme of DataGrid already include many ResourceDictionary that we can tune, however some key parts are still missing.

Sample effect of lacking stock ControlThemes:
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

Successfully merging this pull request may close these issues.

1 participant