Skip to content

applets/batterymonitor: use GridLayout to simplify inhibition hints

Fushan Wen requested to merge work/fuf/inhibition into master

Reason for the change

RowLayout + ColumnLayout can be replaced by one GridLayout which is more efficient as those layouts are all based on GridLayout and the number of layouts is also reduced.

Test plan

Add test for inhibition hints and also check layout polish loop warnings.

Screenshots or screen recordings

Minimum width Normal width
图片 图片

Bugs fixed

Edited by Fushan Wen

Merge request reports