Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Changelog

## 0.1.1

- Fix unable to set Color(0, 0, 0) to font
- Organize screenshots to "screenshots/"

## 0.1.0

- Initial release
- Import and manage TrueType fonts(.ttf)
- Edit text directly in editor viewport
- Basic styling operations:
- Font type
- Font weight
- Font size
- Font color
- Highlight
- Horizontal alignment
- Font Style/Formatting(Typography hierarchy)
- Clear font
- Clear color
- Rect size refresh
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# UI Design Tool

![Toolbar](ui_design_tool_preview.gif "Toolbar")
![Toolbar](screenshots/ui_design_tool_preview.gif "Toolbar")

Intuitive UI design workflow in Godot.

Expand Down Expand Up @@ -36,13 +36,13 @@ or

### Toolbar

![Show Overlay Text Editor](toolbar_preview.png "Show Overlay Text Editor")
![Show Overlay Text Editor](screenshots/toolbar_preview.png "Show Overlay Text Editor")

Select any `Control` node will show the toolbar at the bottom of 2D screen viewport, otherwise, it will stay hidden.

### Overlay Text Editor

![Show Overlay Text Editor](overlay_text_editor_preview.gif "Show Overlay Text Editor")
![Show Overlay Text Editor](screenshots/overlay_text_editor_preview.gif "Show Overlay Text Editor")

Double click on `Control` node with `text` property(`Label`, `Button`, `RichTextLabel`, etc...) will show overlay text editor at mouse position.

Expand Down
2 changes: 1 addition & 1 deletion addons/ui_design_tool/plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
name="UI Design Tool"
description=""
author="imjp94"
version="0.1.0"
version="0.1.1"
script="plugin.gd"
4 changes: 2 additions & 2 deletions addons/ui_design_tool/scenes/Toolbar.gd
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ func _on_font_size_changed(new_font_size):

# Called from setter method, handle update of font color in toolbar
func _on_font_color_changed(new_font_color):
$FontColor/ColorRect.color = new_font_color if new_font_color else Color.white
reflect_font_color_control()

emit_signal("property_edited", PROPERTY_FONT_COLOR)

Expand Down Expand Up @@ -652,7 +652,7 @@ func set_font_size(object, font_size):

# font color setter, toolbar gets updated after called
func set_font_color(object, font_color):
font_color = font_color if font_color else null
font_color = font_color if font_color != null else null
if object is RichTextLabel:
object.set(PROPERTY_FONT_COLOR_DEFAULT, font_color)
else:
Expand Down
Empty file added screenshots/.gdignore
Empty file.
File renamed without changes
File renamed without changes
34 changes: 0 additions & 34 deletions toolbar_preview.png.import

This file was deleted.