Comments (4)
This is happening because cells are always measured with infinite size (because we want to know their natural size) but our layout system inherited WPF's semantics where you must give at least DesiredSize
in the arrange pass, otherwise controls get clipped.
This means we need to do a two-pass measure, with the accompanying performance hit :(
from avalonia.controls.treedatagrid.
For me this is the natural behavior...
Do you want that "privacy boost" button to overlap the next "incoming" column in this scenario?
from avalonia.controls.treedatagrid.
The button should shrink to available width here so no clipping happens. The text layout will cut off remaining characters if not enough space is available. This only happens when text is measured with finite space.
from avalonia.controls.treedatagrid.
Ohh understood now! Thanks for the clarification.
from avalonia.controls.treedatagrid.
Related Issues (20)
- Unsaported Project NET version HOT 2
- InvalidOperationException: Call from invalid thread
- Invisible in web assembly
- Enable IsTrimmable
- TemplateColumn/TextColumn Header in FlatTreeDataGridSource do not support template by ResourceKey
- FlatTreeDataGrid do not support CTRL+A HOT 1
- [Suggestion] Use the same default colors that the TreeView control
- TreeDataGrid does not work unless you are running FluentTheme HOT 1
- TreeDataGrid does not work unless you are running FluentTheme HOT 10
- How to focus on cell? HOT 2
- TreeDataGrid is flickering when using a binding to a task with fallback value
- Error "Object reference not set to an instance of an object." if FlatTreeDataGridSource is recreated with changing edit mode HOT 2
- Rows and columns visually lose alignment when refreshing the grid and setting the Value of the horizontal scrollbar. HOT 3
- [Question] Is TreeDataGrid more performant than TreeView HOT 1
- Implement SelectedItem for CellSelection
- Column freezing
- Cell Editing Template doesn't work with Control Themes HOT 1
- Setting MinWidth and using Auto columns breaks layout when scrolling HOT 9
- [Bug] Scrolling a control with variable row height causes visual clatter.
- [Bug] Cannot deselect row when SingleSelect is enabled
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 avalonia.controls.treedatagrid.