https://kotlinlang.org logo
Join the conversationJoin Slack
Channels
100daysofcode
100daysofkotlin
100daysofkotlin-2021
advent-of-code
aem
ai
alexa
algeria
algolialibraries
amsterdam
android
android-architecture
android-databinding
android-studio
androidgithubprojects
androidthings
androidx
androidx-xprocessing
anime
anko
announcements
apollo-kotlin
appintro
arabic
argentina
arkenv
arksemdevteam
armenia
arrow
arrow-contributors
arrow-meta
ass
atlanta
atm17
atrium
austin
australia
austria
awesome-kotlin
ballast
bangladesh
barcelona
bayarea
bazel
beepiz-libraries
belgium
berlin
big-data
books
boston
brazil
brikk
budapest
build
build-tools
bulgaria
bydgoszcz
cambodia
canada
carrat
carrat-dev
carrat-feed
chicago
chile
china
chucker
cincinnati-user-group
cli
clikt
cloudfoundry
cn
cobalt
code-coverage
codeforces
codemash-precompiler
codereview
codingame
codingconventions
coimbatore
collaborations
colombia
colorado
communities
competitive-programming
competitivecoding
compiler
compose
compose-android
compose-desktop
compose-hiring
compose-ios
compose-mp
compose-ui-showcase
compose-wear
compose-web
connect-audit-events
corda
cork
coroutines
couchbase
coursera
croatia
cryptography
cscenter-course-2016
cucumber-bdd
cyprus
czech
dagger
data2viz
databinding
datascience
dckotlin
debugging
decompose
decouple
denmark
deprecated
detekt
detekt-hint
dev-core
dfw
docs-revamped
dokka
domain-driven-design
doodle
dsl
dublin
dutch
eap
eclipse
ecuador
edinburgh
education
effective-kotlin
effectivekotlin
emacs
embedded-kotlin
estatik
event21-community-content
events
exposed
failgood
fb-internal-demo
feed
firebase
flow
fluid-libraries
forkhandles
forum
fosdem
fp-in-kotlin
framework-elide
freenode
french
fritz2
fuchsia
functional
funktionale
gamedev
ge-kotlin
general-advice
georgia
geospatial
german-lang
getting-started
github-workflows-kt
glance
godot-kotlin
google-io
gradle
graphic
graphkool
graphql
graphql-kotlin
graviton-browser
greece
grpc
gsoc
gui
hackathons
hacktoberfest
hamburg
hamkrest
helios
helsinki
hexagon
hibernate
hikari-cp
hire-me
hiring
hongkong
hoplite
http4k
hungary
hyderabad
image-processing
india
indonesia
inkremental
intellij
intellij-plugins
intellij-tricks
internships
introduce-yourself
io
ios
iran
israel
istanbulcoders
italian
jackson-kotlin
jadx
japanese
jasync-sql
java-to-kotlin-refactoring
javadevelopers
javafx
javalin
javascript
jdbi
jhipster-kotlin
jobsworldwide
jpa
jshdq
juul-libraries
jvm-ir-backend-feedback
jxadapter
k2-early-adopters
kaal
kafka
kakao
kalasim
kapt
karachi
karg
karlsruhe
kash_shell
kaskade
kbuild
kdbc
kgen-doc-tools
kgraphql
kinta
klaxon
klock
kloudformation
kmdc
kmm-español
kmongo
knbt
knote
koalaql
koans
kobalt
kobweb
kodein
kodex
kohesive
koin
koin-dev
komapper
kondor-json
kong
kontent
kontributors
korau
korean
korge
korim
korio
korlibs
korte
kotest
kotest-contributors
kotless
kotlick
kotlin-asia
kotlin-beam
kotlin-by-example
kotlin-csv
kotlin-data-storage
kotlin-foundation
kotlin-fuel
kotlin-in-action
kotlin-inject
kotlin-latam
kotlin-logging
kotlin-multiplatform-contest
kotlin-mumbai
kotlin-native
kotlin-pakistan
kotlin-plugin
kotlin-pune
kotlin-roadmap
kotlin-samples
kotlin-sap
kotlin-serbia
kotlin-spark
kotlin-szeged
kotlin-website
kotlinacademy
kotlinbot
kotlinconf
kotlindl
kotlinforbeginners
kotlingforbeginners
kotlinlondon
kotlinmad
kotlinprogrammers
kotlinsu
kotlintest
kotlintest-devs
kotlintlv
kotlinultimatechallenge
kotlinx-datetime
kotlinx-files
kotlinx-html
kotrix
kotson
kovenant
kprompt
kraph
krawler
kroto-plus
ksp
ktcc
ktfmt
ktlint
ktor
ktp
kubed
kug-leads
kug-torino
kvision
kweb
lambdaworld_cadiz
lanark
language-evolution
language-proposals
latvia
leakcanary
leedskotlinusergroup
lets-have-fun
libgdx
libkgd
library-development
linkeddata
lithuania
london
losangeles
lottie
love
lychee
macedonia
machinelearningbawas
madrid
malaysia
mathematics
meetkotlin
memes
meta
metro-detroit
mexico
miami
micronaut
minnesota
minutest
mirror
mockk
moko
moldova
monsterpuzzle
montreal
moonbean
morocco
motionlayout
mpapt
mu
multiplatform
mumbai
munich
mvikotlin
mvrx
myndocs-oauth2-server
naming
navigation-architecture-component
nepal
new-mexico
new-zealand
newname
nigeria
nodejs
norway
npm-publish
nyc
oceania
ohio-kotlin-users
oldenburg
oolong
opensource
orbit-mvi
osgi
otpisani
package-search
pakistan
panamá
pattern-matching
pbandk
pdx
peru
philippines
phoenix
pinoy
pocketgitclient
polish
popkorn
portugal
practical-functional-programming
proguard
prozis-android-backup
pyhsikal
python
python-contributors
quasar
random
re
react
reaktive
realm
realworldkotlin
reductor
reduks
redux
redux-kotlin
refactoring-to-kotlin
reflect
refreshversions
reports
result
rethink
revolver
rhein-main
rocksdb
romania
room
rpi-pico
rsocket
russian
russian_feed
russian-kotlinasfirst
rx
rxjava
san-diego
science
scotland
scrcast
scrimage
script
scripting
seattle
serialization
server
sg-user-group
singapore
skia-wasm-interop-temp
skrape-it
slovak
snake
sofl-user-group
southafrica
spacemacs
spain
spanish
speaking
spek
spin
splitties
spotify-mobius
spring
spring-security
squarelibraries
stackoverflow
stacks
stayhungrystayfoolish
stdlib
stlouis
strife-discord-lib
strikt
students
stuttgart
sudan
swagger-gradle-codegen
swarm
sweden
swing
swiss-user-group
switzerland
talking-kotlin
tallinn
tampa
teamcity
tegal
tempe
tensorflow
terminal
test
testing
testtestest
texas
tgbotapi
thailand
tornadofx
touchlab-tools
training
tricity-kotlin-user-group
trójmiasto
truth
tunisia
turkey
turkiye
twitter-feed
uae
udacityindia
uk
ukrainian
uniflow
unkonf
uruguay
utah
uuid
vancouver
vankotlin
vertx
videos
vienna
vietnam
vim
vkug
vuejs
web-mpp
webassembly
webrtc
wimix_sentry
wwdc
zircon
Powered by Linen
tornadofx
  • r

    ron

    12/21/2017, 1:17 PM
    I am trying to bring DateTimePicker to my application the same way you did with DatePicker but for some reason something somewhere still expects a LocalDate instead of a LocalDateTime
    w
    • 2
    • 1
  • n

    nimakro

    12/22/2017, 6:17 PM
    @thomasnield @edvin I think in the long run we should get ride of GitBook (it's very slow) and just build the html bages every time there is a push to github and publish them on tornadofx.io?
    k
    e
    • 3
    • 2
  • e

    edvin

    12/22/2017, 7:14 PM
    @thomasnield If you think it will be a good option for us then I'm sold 🙂 It would be nice to have the docs directly on the web page. I can take care of the deployment and putting it together 🙂
    👍 1
    n
    • 2
    • 3
  • e

    edvin

    12/23/2017, 9:43 AM
    New Years Resolution: Create weekly videos!
    🎉 2
    👍 5
    n
    • 2
    • 3
  • e

    edvin

    12/25/2017, 6:13 PM
    I'm thinking about putting down the google groups - the interface is horrible, and asking questions here or SO or GitBook is far better. Any objections?
    n
    • 2
    • 2
  • c

    carlw

    12/28/2017, 3:01 PM
    @Ruckus do you know the type safe syntax for strokeDashedArray? I'm looking for a simple dashed line
    r
    • 2
    • 5
  • r

    ron

    12/29/2017, 2:24 PM
    emptyList!!!! that was what I was looking for
    c
    • 2
    • 2
  • r

    ron

    12/29/2017, 7:26 PM
    I almost had a stroke 3 weeks ago
    😱 1
    n
    • 2
    • 1
  • e

    edvin

    12/30/2017, 7:28 PM
    I had a thought the other day, maybe it's madness, but just wanted to throw it out there. If JavaFX innovation completely grinds to a halt at Oracle, maybe we should look into reviving Apache Pivot, reworking it from the bottom in Kotlin? That way we would be in complete control of the UI components, and we would be completely free of JavaFX legacy issues. Crazy? 🙂
    n
    • 2
    • 1
  • j

    jchildress

    01/04/2018, 2:17 PM
    Off-topic... I love and hate slack... there is so much useful information here, but after a while the messages roll off... Is that true or am I confused? We can't search very old messages/content because of the "plan" we are on with Slack... Or am I wrong...
    r
    • 2
    • 2
  • w

    wakingrufus

    01/04/2018, 3:12 PM
    Riot/Matrix is the best decentralized alternative so far imho
    k
    • 2
    • 3
  • e

    edvin

    01/04/2018, 8:04 PM
    @wakingrufus Do you have it packaged with javapacakger? If not, that might fix the issue. I'm betting it switches between the app icon and the icon supplied by the app in-jvm somehow.
    w
    • 2
    • 1
  • e

    edvin

    01/05/2018, 12:23 PM
    @lachlanz In your
    App
    subclass, override
    start
    to set
    initStyle
    and on the stage, and override
    createPrimaryScene
    to create a custom Scene. You can call super and modify the default scene before returning it as well.
    l
    • 2
    • 7
  • c

    carlw

    01/05/2018, 2:03 PM
    my event recommendation was to support an operation that spanned multiple event types PRESSED->DRAGGED->RELEASED. i'm suspicious about many event filters based on the same event (ex PRESSED on a Tile, PRESSED on a TextField, PRESSED on a Button)
    a
    • 2
    • 2
  • c

    carlw

    01/05/2018, 9:04 PM
    @amanda.hinchman-dominguez there's a shift in the main work area when you select this. try keeping the border present at all times and use an opacity setting as the highlight. that way, the layout manager won't be involved when you do the highlight. adding a border changes the dimensions and triggers a resize
    👍 1
    a
    • 2
    • 2
  • e

    edvin

    01/11/2018, 5:34 PM
    @Ruckus Are there other components than TableView, TreeTableView and ListView that support placeholder?
    r
    • 2
    • 1
  • r

    Ruckus

    01/11/2018, 7:50 PM
    Make sure you're adding the item to the backing observable list.
    a
    • 2
    • 3
  • r

    ron

    01/11/2018, 7:50 PM
    yeah look at https://ronsmits.github.com/bpgraph
    a
    • 2
    • 2
  • e

    edvin

    01/12/2018, 5:10 PM
    @andy.burdett The reason is that your cellFormat function isn't binding any text to the textProperty of the cell, it's merely assigning text to it when the cell is updated. What you see is actually not that it's updated when you add another item, but rather it's updated when the cell for the item that was changed receives an update request from the ListView (which as you've seen happens when you add another item). You can deal with this in several ways, from just calling refresh() on the ListView, to actually binding towards the textProperty(). The easiest thing is probably to change
    cellFormat { text = it.title}
    to
    cellFormat { textProperty.cleanBind(it.titleProperty) }
    a
    • 2
    • 3
  • e

    edvin

    01/12/2018, 7:29 PM
    @amanda.hinchman-dominguez Why do you add
    .isMouseTransparent = true
    outside of the curlies?
    a
    • 2
    • 1
  • a

    amanda.hinchman-dominguez

    01/15/2018, 2:11 PM
    @anujkrvaish If I have time tonight, I could try to work on a possible solution (if you haven't gotten around to it)
    a
    • 2
    • 3
  • a

    amanda.hinchman-dominguez

    01/16/2018, 4:19 PM
    On IntelliJ TornadoFX app configurations: I'm trying to select the AppClass, but the project will not allow me to accept the class, am I missing something?
    a
    • 2
    • 2
  • a

    amanda.hinchman-dominguez

    01/16/2018, 6:43 PM
    haha I was having a bad time w intellij this morning too, send a screenshot?
    j
    e
    • 3
    • 4
  • p

    poohbar

    01/16/2018, 7:42 PM
    @Ruckus It sucks that you are shutting me up because we are so afraid to speak up about this issue.
    r
    • 2
    • 3
  • a

    amanda.hinchman-dominguez

    01/17/2018, 12:03 AM
    Most of them are sleeping because of the time zone, but Ilya said he might revisit this tomorrow bc it's 3am where he is. Until then, I can set up a DM chat on the side and hopefully we can add others later on. If you're interested say so and I'll add you.
    r
    • 2
    • 1
  • r

    ron

    01/17/2018, 3:42 PM
    @amanda.hinchman-dominguez look at GitHub.com/ronsmitsnl/kphoto there is a imageview in it
    a
    • 2
    • 1
  • e

    edvin

    01/17/2018, 5:21 PM
    @amanda.hinchman-dominguez Do you fully understand the difference between
    imageview()
    and
    ImageView
    ?
    a
    • 2
    • 2
  • h

    hestad

    01/17/2018, 5:59 PM
    Is it easy to make custom extension-functions like imageview() or should I stick with this += ...
    k
    e
    • 3
    • 2
  • e

    edvin

    01/18/2018, 8:36 AM
    @Carlton Whitehead You should create a separate scope per test instead of reusing the same scope.
    c
    • 2
    • 5
  • e

    edvin

    01/18/2018, 5:58 PM
    @Thomas You can also check out FXLauncher, which uses
    javapackager
    under the hood, but in addition gives you auto update capabilities
    t
    • 2
    • 1
Powered by Linen
Title
e

edvin

01/18/2018, 5:58 PM
@Thomas You can also check out FXLauncher, which uses
javapackager
under the hood, but in addition gives you auto update capabilities
t

Thomas

01/18/2018, 9:51 PM
cool beans - I’ll take a look. Thx!
View count: 3