scopchanov / so-customlist Goto Github PK
View Code? Open in Web Editor NEWAnimated custom list of items designed to be used in Qt Widgets applications.
Animated custom list of items designed to be used in Qt Widgets applications.
I want to use the way in which you implemented the expandable ListView, but with a difference which in my case the expanded content does not have a specific height, it can be one line or 50 lines.
So in sizeHint() function, how to calculate the exact height, and also here content getting higher when the window width getting smaller (when resizing the widow) OR the content height getting smaller when the window width getting wider.
Here I am going to show you screenshots of the above cases:
It is the normal case:
It is when I try to resize the window size (smaller) As you can see the expand icon hasbeen disappeared and the scrollbar appeared, whic I dont want this.
Note: But now when I add a new item, then everything will be automatically adjusted as it was in normal case without the window width changed, e.g: now I going to add a new Item and it is the result:
And it is when I try to resize the window size (wider)
So it there anyway to control this and fit all the content in the correct size?
Thanks!!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.