Improve toolbox layout
ClosedPublic

Authored by alvinhochun on Feb 4 2018, 10:13 AM.

Details

Summary

This series of changes improves the toolbox layout:

  • Remove the behaviour of placing a section on the last row of the previous section.
  • Change the minimum size calculation so that it works when the toolbox is laid out horizontally.
  • Wrap the toolbox in a scroll widget to allow scrolling the toolbox when there isn't enough space.
  • When the toolbox docker is floating, change the toolbox orientation according to the size of the toolbox.

The individual commits can be viewed here: https://github.com/KDE/krita/compare/master...alvinhochun:alvin/toolbox-layout
You can fetch my branch by running git fetch https://github.com/alvinhochun/krita.git alvin/toolbox-layout

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
alvinhochun created this revision.Feb 4 2018, 10:13 AM
Restricted Application added a subscriber: woltherav. · View Herald TranscriptFeb 4 2018, 10:13 AM
alvinhochun requested review of this revision.Feb 4 2018, 10:13 AM
rempt accepted this revision.Feb 6 2018, 8:48 AM
rempt added a subscriber: rempt.

Yes, this is much better.

This revision is now accepted and ready to land.Feb 6 2018, 8:48 AM
This revision was automatically updated to reflect the committed changes.