You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
Implement interface mirroring. Add TextLine and TextParagraph classes. Handle UTF-16 input on macOS and Windows.
This commit is contained in:
@@ -114,10 +114,11 @@ void BoneTransformEditor::_notification(int p_what) {
|
||||
}
|
||||
case NOTIFICATION_SORT_CHILDREN: {
|
||||
const Ref<Font> font = get_theme_font("font", "Tree");
|
||||
int font_size = get_theme_font_size("font_size", "Tree");
|
||||
|
||||
Point2 buffer;
|
||||
buffer.x += get_theme_constant("inspector_margin", "Editor");
|
||||
buffer.y += font->get_height();
|
||||
buffer.y += font->get_height(font_size);
|
||||
buffer.y += get_theme_constant("vseparation", "Tree");
|
||||
|
||||
const float vector_height = translation_property->get_size().y;
|
||||
|
||||
Reference in New Issue
Block a user