https://bugs.kde.org/show_bug.cgi?id=470167
James Graham <james.h.gra...@protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/netw | |ork/neochat/-/commit/fa37f2 | |8c9479f28d2c167dd11d9fa96d6 | |e59510b --- Comment #2 from James Graham <james.h.gra...@protonmail.com> --- Git commit fa37f28c9479f28d2c167dd11d9fa96d6e59510b by James Graham. Committed on 30/05/2023 at 18:14. Pushed by nvrwhere into branch 'master'. Improve Delegate Width Sizing Create a cpp helper class to calculate the correct delegate width given it's parent width. This is designed to be more robust and hopefully easier to understand than the current mass of javascript calcs. M +6 -0 autotests/CMakeLists.txt A +156 -0 autotests/delegatesizehelpertest.cpp [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] M +1 -0 src/CMakeLists.txt A +153 -0 src/delegatesizehelper.cpp [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] A +123 -0 src/delegatesizehelper.h [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] M +2 -0 src/main.cpp M +16 -5 src/qml/Component/ChatBox/ChatBar.qml M +0 -3 src/qml/Component/ChatBox/ChatBox.qml M +12 -5 src/qml/Component/Timeline/StateDelegate.qml M +23 -10 src/qml/Component/Timeline/TimelineContainer.qml https://invent.kde.org/network/neochat/-/commit/fa37f28c9479f28d2c167dd11d9fa96d6e59510b -- You are receiving this mail because: You are watching all bug changes.