https://kotlinlang.org logo
l

Lars Erik Rojeras

09/01/2021, 8:44 AM
Migrating from 4.7.1 to 5.1.0 (and still using legacy compiler). All seems to work, except that the table definitions are not applied. I have a table type definition as:
Copy code
setOf(TableType.BORDERED, TableType.SMALL, TableType.STRIPED, TableType.HOVER)
But it is rendered as a plain table without borders, stripes etc. When I use Intellij to check the documentation of BORDERED I see:
Copy code
io.kvision.table.TableType 
enum entry BORDERED 
Enum constant ordinal: 1
  Gradle: io.kvision:kvision-bootstrap:5.1.0
If I check to the table definition i Showcase/BasicTab (which renders correctly) it says:
Copy code
io.kvision.table.TableType 
enum entry BORDERED 
Enum constant ordinal: 1
  Gradle: io.kvision:kvision-bootstrap:klib:5.1.0
I seem to be missing a klib. How can I fix this?
r

Robert Jaros

09/01/2021, 10:45 AM
have you tried cleaning the project?
or - have you initialized BootstrapCss module?
l

Lars Erik Rojeras

09/01/2021, 11:18 AM
The problem was the missing initialization of BootstrapCss. Now it looks good!
2 Views