Comments (5)
Have you tried to autosize your column using this command metroListView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.ColumnContent);
from metroframework-modern-ui.
I have the same, but the stipulation is that we must allow our users to resize columns at their will.
Is there any other modifications to show all the characters in the column?
from metroframework-modern-ui.
Problem is in this lines: 690 and 692 https://github.com/dennismagno/metroframework-modern-ui/blob/f8596bebc96f9bed23ce954b2209a473c392893b/MetroFramework/Controls/MetroListView.cs#L690
if (this.View == View.Details) return;
int _colWidth = e.Item.Bounds.Width;
if (this.View == View.Details) _colWidth = this.Columns[0].Width;
I don't know why the owner did so, maybe there should be conditions for List and Small Icon. I never used them and don't know the specifics. After disabling these lines, the width of the columns does not depend on the width of the first.
from metroframework-modern-ui.
Is this issue going to resolved for the nuget package?
from metroframework-modern-ui.
Problem is in this lines: 690 and 692 https://github.com/dennismagno/metroframework-modern-ui/blob/f8596bebc96f9bed23ce954b2209a473c392893b/MetroFramework/Controls/MetroListView.cs#L690
if (this.View == View.Details) return; int _colWidth = e.Item.Bounds.Width; if (this.View == View.Details) _colWidth = this.Columns[0].Width;
I don't know why the owner did so, maybe there should be conditions for List and Small Icon. I never used them and don't know the specifics. After disabling these lines, the width of the columns does not depend on the width of the first.
Working Permalink:
@dennismagno I'm happy to make this fix. Will you accept a PR and publish an updated NuGet?
from metroframework-modern-ui.
Related Issues (20)
- mertotabcontrol can not set imglist prop
- Exception InvalidOperationException in OnMouseWheel of MetroGrid with hidden rows HOT 3
- Tile style White on White
- Clear Button in MetroTextBox does not show even if property ShowClearButton set to true
- Control.Minimilize,MaximizeBoxe's are still white after using Dark theme HOT 1
- ComboBox.DropDownStyle does nothing HOT 2
- How to Apply Theme and Color to MetroUserControl
- Visual Studio stops when Cursor is changed to hand
- pressing Tab Next Control and Windows ShowDialog
- Failed to create component 'MetroButton' - .NET Core 5
- MetoTextbox Custom Button event makes VS Hang
- Is it possible to build locally? HOT 1
- pfx password?
- Variable FontSize property (feature request)
- Form impossible to resize HOT 1
- Pressing TAB key in application affects ComboBox selection
- Error creating MetroTextBox on .Net6 HOT 3
- [Bug] Changing cursor in a form with metrotextbox caused the app to crash
- Allow user to set custom colors
- Problem With Placing A MetroLabel in Child Form in MetroTabControl(ModernUI)
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 metroframework-modern-ui.