aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-01-28 13:55:06 +0100
committerRobert Jaros <rjaros@finn.pl>2018-01-28 13:55:06 +0100
commit9f1bc01e0e42a92cdfc483037df89ca28069abdd (patch)
tree4a0d984a39097b7d50f2b665cc3915f30ee7f207 /src
parent981973fc4c835ea4637147e6414c7c53222094c5 (diff)
downloadkvision-9f1bc01e0e42a92cdfc483037df89ca28069abdd.tar.gz
kvision-9f1bc01e0e42a92cdfc483037df89ca28069abdd.tar.bz2
kvision-9f1bc01e0e42a92cdfc483037df89ca28069abdd.zip
Change icon size
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/core/Widget.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt b/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt
index 28b0a076..4ff7a640 100644
--- a/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/core/Widget.kt
@@ -355,7 +355,7 @@ open class Widget(classes: Set<String> = setOf()) : StyledComponent() {
): Array<out Any> {
return if (icon != null) {
if (icon.startsWith("fa-")) {
- arrayOf(KVManager.virtualize("<i class='fa $icon fa-lg'></i>"), " " + label)
+ arrayOf(KVManager.virtualize("<i class='fa $icon'></i>"), " " + label)
} else {
arrayOf(KVManager.virtualize("<span class='glyphicon glyphicon-$icon'></span>"), " " + label)
}