haxeui / haxeui-html5

The HTML5 backend of the HaxeUI framework -
http://haxeui.org
MIT License
28 stars 14 forks source link

Tableview column offset and header height #37

Open hoseyjoe opened 3 years ago

hoseyjoe commented 3 years ago
  1. The header "Column C" is slightly taller than A & B? Not sure why but it is in html only raylib was fine.

  2. The second and third columns are offset to the left. Clicking the header fixes it? raylib was fine.

https://user-images.githubusercontent.com/2074385/132159574-401c243a-95d4-4420-ad03-066768905365.mp4

Simplified.zip

ianharrigan commented 3 years ago

Hmmm, yeah, that is a weird visual glitch... cant see why it would happen either... illl check it out

Cheers, Ian

hoseyjoe commented 3 years ago

FYI: 1. column C is fixed by removing width="100%". The intent was for columns A, B take up the minimum space required and C to take up remaining space.

hoseyjoe commented 3 years ago

Changing column B to static width moves header height issue to column B

<column id="colA" text="Column A"  sortable="true" />
            <column id="colB" text="Column B" width="100" sortable="true"/>
            <column id="colC" text="Column C" width="100%" sortable="true"/>

image

If you do column A, no effect (column C is still weird)

<column id="colA" text="Column A"  sortable="true" />
            <column id="colB" text="Column B" width="100" sortable="true"/>
            <column id="colC" text="Column C" width="100%" sortable="true"/>