[pve-devel] [PATCH manager v2] ui: resource tree: add collapse/expand all button
Dominik Csapak
d.csapak at proxmox.com
Wed Nov 20 09:35:44 CET 2024
On 11/19/24 20:56, Thomas Lamprecht wrote:
> Am 19.11.24 um 10:49 schrieb Dominik Csapak:
>> adds two buttons to the tree: expand all and collapse all
>>
>> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
>> ---
>> changes from v1:
>> * use two buttons (negates the need for all the event handling and checking)
>> * use plain plus/minus icons -> i have no real preference here either,
>> but the plain icons look a bit weird here IMHO
>
>
> It looks indeed odd, especially without padding. Did you try stacking them
> like I mentioned in my reply as possible option. Did not see anny mentioning
> that it didn't work or looked stupid ^^
no i didn't
just to clarify: you mean on top of each other?
because i think that wont work, since the buttons have a height
based on font-size/line-height/padding/margin so i guess
it's not easy to "squish" them ?
i'll try though
More information about the pve-devel
mailing list