Merge pull request #28636 from bojidar-bg/d2426-panel-styles
Remove unused panelf and panelnc styles
This commit is contained in:
commit
f1e39e1fc8
|
@ -15,9 +15,5 @@
|
||||||
<theme_items>
|
<theme_items>
|
||||||
<theme_item name="panel" type="StyleBox">
|
<theme_item name="panel" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="panelf" type="StyleBox">
|
|
||||||
</theme_item>
|
|
||||||
<theme_item name="panelnc" type="StyleBox">
|
|
||||||
</theme_item>
|
|
||||||
</theme_items>
|
</theme_items>
|
||||||
</class>
|
</class>
|
||||||
|
|
|
@ -833,14 +833,6 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
||||||
theme->set_constant("autohide", "HSplitContainer", 1 * scale);
|
theme->set_constant("autohide", "HSplitContainer", 1 * scale);
|
||||||
theme->set_constant("autohide", "VSplitContainer", 1 * scale);
|
theme->set_constant("autohide", "VSplitContainer", 1 * scale);
|
||||||
|
|
||||||
// ReferenceRect
|
|
||||||
|
|
||||||
Ref<StyleBoxTexture> ttnc = make_stylebox(full_panel_bg_png, 8, 8, 8, 8);
|
|
||||||
ttnc->set_draw_center(false);
|
|
||||||
|
|
||||||
theme->set_stylebox("panelnc", "Panel", ttnc);
|
|
||||||
theme->set_stylebox("panelf", "Panel", tc_sb);
|
|
||||||
|
|
||||||
Ref<StyleBoxTexture> sb_pc = make_stylebox(tab_container_bg_png, 4, 4, 4, 4, 7, 7, 7, 7);
|
Ref<StyleBoxTexture> sb_pc = make_stylebox(tab_container_bg_png, 4, 4, 4, 4, 7, 7, 7, 7);
|
||||||
theme->set_stylebox("panel", "PanelContainer", sb_pc);
|
theme->set_stylebox("panel", "PanelContainer", sb_pc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue