Files
StreamOverlay/scenes/desktop_icon.tscn
Ondra-Kavan 18ef15fb7a Inital commit
- Desktop wallpaper
- Desktop Icons
    - Added a simple script to set the icons texture and label
2025-10-26 19:03:33 +01:00

29 lines
1007 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://owcnraxh2lvx"]
[ext_resource type="Script" uid="uid://dhbusj7k1vdji" path="res://scenes/desktop_icon.gd" id="1_ciefd"]
[ext_resource type="Theme" uid="uid://dgf6fwq86texy" path="res://Desktop Icons.tres" id="2_ciefd"]
[ext_resource type="Texture2D" uid="uid://cf0gel5pfm6em" path="res://icon.svg" id="2_x2r5c"]
[node name="Desktop Icon" type="VBoxContainer"]
script = ExtResource("1_ciefd")
icon_texture = ExtResource("2_x2r5c")
icon_text = "TomTam_test.exe Lorem Ipsum dolor sit amet"
[node name="IcoTexture" type="TextureRect" parent="."]
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("2_x2r5c")
expand_mode = 2
stretch_mode = 5
[node name="IcoLabel" type="Label" parent="."]
custom_minimum_size = Vector2(96, 36)
layout_mode = 2
theme = ExtResource("2_ciefd")
text = "TomTam_test.exe Lorem Ipsum dolor sit amet"
horizontal_alignment = 1
autowrap_mode = 2
text_overrun_behavior = 3
max_lines_visible = 2