卡④T5补(迭代47): 四子界面内容回包PANEL_DATA米板身+HEADER_BAND死常量摘除——ui_contrast令牌核签随件(上笔T5漏add的三件)
This commit is contained in:
1 parent
1243ffe632
commit
52296872e3
3 files changed
+7
-3
No files matched your search
@@ -30,7 +30,13 @@ func _build_shell(title: String, icon_path: String, content: Control) -> void:
|
||||
margin.add_child(col)
|
||||
_build_top_bar(col, title, icon_path)
|
||||
content.size_flags_vertical = Control.SIZE_EXPAND_FILL
|
||||
col.add_child(content)
|
||||
# 内容米板身(柜台行板对比底=PanelData——旧柜台面板形态延续,行板墨色对比表不脱锚)
|
||||
var body := PanelContainer.new()
|
||||
body.add_theme_stylebox_override("panel",
|
||||
UiKit.panel_flat(UiKit.PANEL_DATA, UiKit.PANEL_BORDER, UiKit.RADIUS_OBJECT, 1, Vector4(10, 10, 10, 10)))
|
||||
body.size_flags_vertical = Control.SIZE_EXPAND_FILL
|
||||
body.add_child(content)
|
||||
col.add_child(body)
|
||||
_build_bottom_bar(col)
|
||||
visible = false # 登记模态初始隐(开合走栈)
|
||||
|
||||
|
||||
Reference in new issue
Block a user