1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:27:35 +00:00

FontEditor: Add ability to copy the selected code point

This makes it easier to preview the current glyph, if it is not easily
typable.
This commit is contained in:
Ben Wiederhake 2021-11-20 03:00:58 +01:00 committed by Andreas Kling
parent 7180813cd4
commit 8d80d1346d
2 changed files with 26 additions and 0 deletions

View file

@ -80,6 +80,13 @@
button_style: "Coolbar"
focus_policy: "TabFocus"
}
}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Button {
name: "rotate_90"
@ -88,6 +95,17 @@
button_style: "Coolbar"
focus_policy: "TabFocus"
}
@GUI::Widget {
}
@GUI::Button {
name: "copy_code_point"
fixed_width: 22
tooltip: "Copy this codepoint (not glyph)"
button_style: "Coolbar"
focus_policy: "TabFocus"
}
}
}
}