Bug 438457 - Layers docker indentation for layers inside the groups and for masks is too big
Summary: Layers docker indentation for layers inside the groups and for masks is too big
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Compiled Sources All
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-11 10:32 UTC by acc4commissions
Modified: 2022-05-16 20:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
capture (29.03 KB, image/png)
2021-06-11 10:32 UTC, acc4commissions
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acc4commissions 2021-06-11 10:32:29 UTC
Created attachment 139227 [details]
capture

SUMMARY
5.0 prealpha

Check the attached picture.

This maybe a duplicate but I couldn't find one.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 acc4commissions 2021-06-11 10:33:48 UTC
Sorry, this is a feature request but I made a mistake setting it;
Comment 2 Tiar 2021-08-20 14:34:41 UTC
Fixed (changed to wishlist). I also modified the title a bit to be more understandable from one glimpse.
Comment 3 Lynx3d 2022-05-16 20:58:42 UTC
Git commit 3a792c415941c51f34aa7950bfd65090a71879b2 by Mathias Wein.
Committed on 16/05/2022 at 19:28.
Pushed by mwein into branch 'master'.

Make tree indentation of Layers docker configurable

100% of the thumbnail size just takes too much space for many people,
leaving little space (or even none at all) for a layer name.
It now has a range of 20% to 100%, adjustable with a slider below
the thumbnail size slider.
While at it, remove a hack to update the view layout and slightly
optimize the delegate.

Also a few small quirks were fixed:
- the settings button did now update on theme changes
- the slider styling did not update on theme changes due to style sheets
- the thumbnail slider did not update the setting unless dragged with
  the mouse; mouse wheel and keyboard shortcuts failed to do so.

M  +10   -0    libs/ui/kis_config.cc
M  +3    -0    libs/ui/kis_config.h
M  +5    -3    libs/ui/kis_node_view_color_scheme.cpp
M  +35   -7    plugins/dockers/layerdocker/LayerBox.cpp
M  +4    -1    plugins/dockers/layerdocker/LayerBox.h
M  +38   -30   plugins/dockers/layerdocker/NodeDelegate.cpp
M  +2    -1    plugins/dockers/layerdocker/NodeDelegate.h
M  +6    -0    plugins/dockers/layerdocker/NodeView.cpp
M  +1    -0    plugins/dockers/layerdocker/NodeView.h

https://invent.kde.org/graphics/krita/commit/3a792c415941c51f34aa7950bfd65090a71879b2