diff --git a/haxe/ui/backend/TextDisplayBase.hx b/haxe/ui/backend/TextDisplayBase.hx index 13a54c1..1198650 100644 --- a/haxe/ui/backend/TextDisplayBase.hx +++ b/haxe/ui/backend/TextDisplayBase.hx @@ -10,6 +10,7 @@ class TextDisplayBase extends Text { public function new() { super(""); scale = new pixi.core.math.Point(1, 1); + //this.style.wordWrap = true; } public var textWidth(get, null):Float; diff --git a/haxe/ui/backend/pixi.config.xml b/haxe/ui/backend/pixi.config.xml deleted file mode 100644 index 267e3db..0000000 --- a/haxe/ui/backend/pixi.config.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - \ No newline at end of file diff --git a/haxe/ui/backend/pixi/PixiStyleHelper.hx b/haxe/ui/backend/pixi/PixiStyleHelper.hx index 0ddc63d..e202e11 100644 --- a/haxe/ui/backend/pixi/PixiStyleHelper.hx +++ b/haxe/ui/backend/pixi/PixiStyleHelper.hx @@ -176,7 +176,8 @@ class PixiStyleHelper { if (borderRadius == 0) { graphics.drawRect(rc.left, rc.top, rc.width, rc.height); } else { - graphics.drawRoundedRect(rc.left, rc.top, rc.width, rc.height, borderRadius); + //graphics.drawRoundedRect(rc.left, rc.top, rc.width, rc.height, borderRadius); + graphics.drawRect(rc.left, rc.top, rc.width, rc.height); } }