lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.21.0 vs lib/cyberarm_engine/ui/theme.rb in cyberarm_engine-0.22.0
- old
+ new
@@ -74,10 +74,11 @@
border_thickness: 1,
border_color: ["ffd59674".hex, "ffff8746".hex],
border_radius: 0,
background: ["ffc75e61".to_i(16), "ffe26623".to_i(16)],
text_align: :center,
+ text_v_align: :center,
text_wrap: :none,
hover: {
color: Gosu::Color.rgb(200, 200, 200),
background: ["ffB23E41".to_i(16), "ffFF7C00".to_i(16)]
@@ -100,10 +101,15 @@
password_character: "•",
caret_width: 2,
caret_color: Gosu::Color::WHITE,
caret_interval: 500,
selection_color: Gosu::Color.rgba(255, 128, 50, 200),
- text_align: :left
+ text_align: :left,
+ text_static: false # static text causes issues correctly displaying caret position
+ },
+
+ EditBox: { # < EditLine
+ text_v_align: :top
},
Image: { # < Element
color: Gosu::Color::WHITE,
tileable: false,