Closed 18202781743 closed 1 year ago
Adjust toolbar sizeHint to 36 in NormalMode. Adjust toolbar sizeHint to 24 in CompactMode.
Issue: https://github.com/linuxdeepin/dtk/issues/36
toolbutton,设计给的尺寸纯icon是36,36,以前的实现也不符合设计, 将icon,radius,frame等拼接起来形成sizeHint,但按照这种计算方法,需要添加固定值才能满足设计, 设计只关心最终大小,并没有给frame这些,我们能否直接返回一个设计给定的sizehint, @zccrs
/+1
这个被requested了,只能approve才能合
Adjust toolbar sizeHint to 36 in NormalMode. Adjust toolbar sizeHint to 24 in CompactMode.
Issue: https://github.com/linuxdeepin/dtk/issues/36