haxeui / haxeui-core

The core library of the HaxeUI framework

Home Page:http://haxeui.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table Header height

hoseyjoe opened this issue · comments

a table header with text that wraps causes a weird space issue.

image

If you change
haxe\ui\containers\Header.hx to include
|| child.height < max
on line 77 so it is
if (child.text == null || child.text.length == 0 || child.height < max) {

Now it looks like
image

When none wrap
image

Also weird 2 pixel scroll?
tabletest.zip

Perfect, thanks Joe - i used your fix, seems to work great.

image

Cheers,
Ian

PS: ive also fixed the incorrect scroll with autosized tables