icon:dialog { children_fixed_width = false ; label = "view my icon" ; :row { :image_button { allow_accept = true ; aspect_ratio = 1 ; height = 3.1 ; key = "myicon" ; width = 6 ; fixed_width=true; fixed_height=true; } :column { ok_only; :button { alignment = centered ; fixed_width = true ; key = "cancel" ; label = "取消" ; width = 11.5 ; } } } } 增加以上红色部分就可以了。 |