Update the visiblity check for ActionToolbar by checking width with less-"equal".
ClosedPublic

Authored by xuetianweng on Apr 20 2020, 7:43 PM.

Details

Summary

Otherwise some action, especially when there is only one action, it will be
put in "more" menu even if there is enough space.

Diff Detail

Repository
R169 Kirigami
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
xuetianweng created this revision.Apr 20 2020, 7:43 PM
Restricted Application added a project: Kirigami. · View Herald TranscriptApr 20 2020, 7:43 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
xuetianweng requested review of this revision.Apr 20 2020, 7:43 PM
xuetianweng retitled this revision from Update the check for ActionToolbar by checking with less-"equal". to Update the visiblity check for ActionToolbar by checking width with less-"equal"..Apr 20 2020, 7:45 PM
ngraham accepted this revision.Apr 20 2020, 8:47 PM
ngraham added a subscriber: ngraham.

Nice job! I was actually just about to submit this exact diff. :)

This revision is now accepted and ready to land.Apr 20 2020, 8:47 PM
This revision was automatically updated to reflect the committed changes.