update layout

layout color and dialog box width size.