assoc Painter with tab's fragment

Signed-off-by: wenpincui <wenpincui224@gmail.com>