You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by jo...@apache.org on 2020/06/20 20:42:38 UTC
[isis] branch master updated: ISIS-2350 Border added to tabs
This is an automated email from the ASF dual-hosted git repository.
joergrade pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new a95d805 ISIS-2350 Border added to tabs
a95d805 is described below
commit a95d8056b11687de12a8f61d7ea93b774280b99f
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sat Jun 20 22:42:12 2020 +0200
ISIS-2350 Border added to tabs
---
.../src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/RoView.kt | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/RoView.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/RoView.kt
index d8e3a97..b51b229 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/RoView.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/isis/client/kroviz/ui/kv/RoView.kt
@@ -1,9 +1,7 @@
package org.apache.isis.client.kroviz.ui.kv
import org.apache.isis.client.kroviz.utils.IconManager
-import pl.treksoft.kvision.core.Component
-import pl.treksoft.kvision.core.CssSize
-import pl.treksoft.kvision.core.UNIT
+import pl.treksoft.kvision.core.*
import pl.treksoft.kvision.panel.SimplePanel
/**
@@ -22,7 +20,7 @@ object RoView {
fun addTab(
title: String,
panel: Component) {
-
+ panel.addBsBorder(BsBorder.BORDER)
val index = tabPanel.findTab(title)
if (index != null) {
val tab = tabPanel.getChildComponent(index) as SimplePanel