D26755: KMessageWidget: Set widget height on resize event

2020-01-19 Thread Juraj Oravec
SGOrava added a comment. No, my tests say no. This does not update sizeHint which can cause some issue later. It sure looks nice in my test app but it is wrong in the core. This is not the right solution. REPOSITORY R236 KWidgetsAddons BRANCH more-proper-height (branched from master

D26755: KMessageWidget: Set widget height on resize event

2020-01-19 Thread Dominik Haumann
dhaumann accepted this revision. dhaumann added a comment. This revision is now accepted and ready to land. I just tested with KTextEditor's messagetest and KTextEditor's usage of KMessageWidget in the top and bottom bar, and all this looks still good. +1 from my side. Another review woul

D26755: KMessageWidget: Set widget height on resize event

2020-01-19 Thread Juraj Oravec
SGOrava added a comment. OK, I will try to write a test for it. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D26755 To: SGOrava, #frameworks Cc: dhaumann, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26755: KMessageWidget: Set widget height on resize event

2020-01-19 Thread Dominik Haumann
dhaumann added a comment. Since KTextEditor uses KMessageWidget extensively we have to make sure the unit test messagetest still passes with this change. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D26755 To: SGOrava, #frameworks Cc: dhaumann, kde-framewor

D26755: KMessageWidget: Set widget height on resize event

2020-01-18 Thread Juraj Oravec
SGOrava edited the summary of this revision. REPOSITORY R236 KWidgetsAddons REVISION DETAIL https://phabricator.kde.org/D26755 To: SGOrava, #frameworks Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26755: KMessageWidget: Set widget height on resize event

2020-01-18 Thread Juraj Oravec
SGOrava created this revision. SGOrava added a reviewer: Frameworks. Herald added a project: Frameworks. SGOrava requested review of this revision. REVISION SUMMARY When the resize event was triggered only the content was resized and the widget itself was kept with same height. This results