widget table implement with layout