enu/app/components/MarkdownLabel.tscn

114 lines
3.4 KiB
Plaintext

[gd_scene load_steps=19 format=2]
[ext_resource path="res://components/MarkdownLabel.gdns" type="Script" id=1]
[ext_resource path="res://themes/DarkTheme.tres" type="Theme" id=2]
[ext_resource path="res://themes/text-bold-italic.otf" type="DynamicFontData" id=3]
[ext_resource path="res://themes/text-italic.otf" type="DynamicFontData" id=4]
[ext_resource path="res://themes/text-bold.otf" type="DynamicFontData" id=5]
[ext_resource path="res://themes/text.otf" type="DynamicFontData" id=6]
[ext_resource path="res://themes/display-bold.otf" type="DynamicFontData" id=8]
[ext_resource path="res://themes/mono.otf" type="DynamicFontData" id=9]
[sub_resource type="DynamicFont" id=7]
font_data = ExtResource( 6 )
[sub_resource type="DynamicFont" id=8]
font_data = ExtResource( 4 )
[sub_resource type="DynamicFont" id=9]
font_data = ExtResource( 5 )
[sub_resource type="DynamicFont" id=10]
font_data = ExtResource( 3 )
[sub_resource type="DynamicFont" id=11]
font_data = ExtResource( 8 )
[sub_resource type="DynamicFont" id=12]
font_data = ExtResource( 9 )
[sub_resource type="StyleBoxFlat" id=6]
resource_local_to_scene = true
content_margin_left = 20.0
content_margin_right = 20.0
content_margin_top = 10.0
content_margin_bottom = 10.0
bg_color = Color( 0.0784314, 0.0117647, 0.113725, 0.839216 )
[sub_resource type="DynamicFont" id=13]
font_data = ExtResource( 9 )
[sub_resource type="StyleBoxFlat" id=14]
bg_color = Color( 0, 0, 0, 0 )
border_width_top = 1
border_width_bottom = 1
border_color = Color( 1, 0.45098, 0.992157, 1 )
[sub_resource type="StyleBoxFlat" id=5]
bg_color = Color( 0, 0, 0, 0.839216 )
border_width_top = 1
border_width_bottom = 1
border_color = Color( 1, 0.45098, 0.992157, 1 )
[node name="MarkdownLabel" type="ScrollContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource( 1 )
markdown = ""
default_font = SubResource( 7 )
italic_font = SubResource( 8 )
bold_font = SubResource( 9 )
bold_italic_font = SubResource( 10 )
header_font = SubResource( 11 )
mono_font = SubResource( 12 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_right = 1920.0
margin_bottom = 1080.0
mouse_filter = 0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 0
[node name="RichTextLabel" type="RichTextLabel" parent="VBoxContainer"]
visible = false
margin_bottom = 69.0
rect_clip_content = false
focus_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme = ExtResource( 2 )
custom_colors/default_color = Color( 1, 1, 1, 1 )
custom_colors/selection_color = Color( 0.207843, 0, 0.321569, 1 )
custom_styles/normal = SubResource( 6 )
tab_size = 2
fit_content_height = true
scroll_active = false
selection_enabled = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextEdit" type="TextEdit" parent="VBoxContainer"]
visible = false
size_flags_vertical = 3
custom_colors/selection_color = Color( 0.207843, 0, 0.321569, 1 )
custom_colors/executing_line_color = Color( 0.0392157, 0, 0.168627, 1 )
custom_colors/font_color_readonly = Color( 0.878431, 0.878431, 0.878431, 1 )
custom_fonts/font = SubResource( 13 )
custom_styles/read_only = SubResource( 14 )
custom_styles/normal = SubResource( 5 )
indent_using_spaces = true
indent_size = 2
readonly = true
syntax_highlighting = true
show_line_numbers = true
smooth_scrolling = true
caret_blink = true
caret_moving_by_right_click = false
__meta__ = {
"_edit_use_anchors_": false
}