groostav
11/12/2020, 8:49 PMresourceBundle.get("MizzspelledKey")
with "this lookup is suspicious" would be a step forwardmelatonina
11/14/2020, 9:04 AMapply
blocks and add
?melatonina
11/14/2020, 6:11 PMSamkeene
11/14/2020, 6:23 PMmelatonina
11/14/2020, 9:33 PMmelatonina
11/14/2020, 9:35 PMmelatonina
11/15/2020, 10:42 AMKirill
11/19/2020, 7:15 PMAlain Leblanc
11/23/2020, 1:14 AMvbox
class has a method named getChildList() which returns a mutable list of the element in the vbox. You can remove and add to this lists using removeAt(i)
and add (i, NewContent)
. In your case i
is likely to be 1, but you may have to experiment a bit. Print out the contents of the different element as you're testing to figure out exactly what you need to modify.WildOne (Yuri)
11/23/2020, 10:41 PMMatej Moravec
11/24/2020, 8:35 AMlazt omen
11/25/2020, 3:12 PMmariofelesdossantosjr
11/28/2020, 12:42 PMWildOne (Yuri)
12/05/2020, 9:25 AMHamza
12/12/2020, 4:15 AMJgafner
12/29/2020, 7:37 PMMarshall
01/07/2021, 10:17 PMprivate val isRunningWrapperProperty = ReadOnlyBooleanWrapper(false)
var isRunning by isRunningWrapperProperty
private set
fun isRunningProperty(): ReadOnlyBooleanProperty = isRunningWrapperProperty.readOnlyProperty
Katrina Eaton
01/20/2021, 3:23 PMamiracam
01/23/2021, 11:58 PMmikehearn
02/01/2021, 11:53 AMNico Smeenk
02/01/2021, 7:38 PMgeepawhill
02/02/2021, 5:15 PMLeonid
02/05/2021, 8:57 AMTableView
is made editable, every mouse double click / mouse single click on a selected cell / [Enter] press starts cell edit. This is pretty annoying, is there an easy way to disable it? I have a dedicated button in the UI to trigger cell edit.groostav
03/10/2021, 12:27 AMdiniamo
03/14/2021, 5:42 PMdiniamo
03/14/2021, 6:19 PMmariofelesdossantosjr
03/24/2021, 11:34 AMSamkeene
03/25/2021, 6:45 PMWildOne (Yuri)
04/02/2021, 5:08 PMdiniamo
04/07/2021, 7:58 AM@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: bold;
src: url('../font/Poppins-Bold.ttf');
}
@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: medium;
src: url('../font/Poppins-Medium.ttf');
}
@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: medium;
-fx-font-style: italic;
src: url('../font/Poppins-MediumItalic.ttf');
}
But when I tried to apply them it doesn't work. I mostly use medium and when I try to set the font-weight, on a label let's say I get this error:
main-view.css: Expected '<font-weight>' while parsing '-fx-font-weight' at [13,21]
I have found some StackOverflow questions, but none of the answers seem to have helped.diniamo
04/07/2021, 7:58 AM@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: bold;
src: url('../font/Poppins-Bold.ttf');
}
@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: medium;
src: url('../font/Poppins-Medium.ttf');
}
@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: medium;
-fx-font-style: italic;
src: url('../font/Poppins-MediumItalic.ttf');
}
But when I tried to apply them it doesn't work. I mostly use medium and when I try to set the font-weight, on a label let's say I get this error:
main-view.css: Expected '<font-weight>' while parsing '-fx-font-weight' at [13,21]
I have found some StackOverflow questions, but none of the answers seem to have helped.Vladimir N.
04/08/2021, 11:48 AMdiniamo
04/08/2021, 12:32 PMVladimir N.
04/08/2021, 1:01 PMdiniamo
04/08/2021, 1:02 PMVladimir N.
04/08/2021, 1:02 PMdiniamo
04/08/2021, 1:34 PMVladimir N.
04/08/2021, 1:35 PMdiniamo
04/08/2021, 1:36 PMVladimir N.
04/08/2021, 1:37 PMdiniamo
04/08/2021, 1:47 PMVladimir N.
04/08/2021, 1:48 PMmedium
to 500
?@font-face {
-fx-font-family: "Poppins", poppins;
-fx-font-weight: 500;
-fx-font-style: italic;
src: url('../font/Poppins-MediumItalic.ttf');
}
diniamo
04/08/2021, 1:50 PMSamkeene
04/09/2021, 1:55 PMdiniamo
04/09/2021, 2:44 PMSamkeene
04/09/2021, 2:46 PMdiniamo
04/09/2021, 4:28 PMSamkeene
04/09/2021, 5:29 PMdiniamo
04/09/2021, 6:03 PMSamkeene
04/09/2021, 6:39 PM@font-face
declarations into the main-view.css
- this isn't ideal, maybe its a quirk of javafx css that I am not aware..diniamo
04/09/2021, 7:09 PMSamkeene
04/09/2021, 7:33 PMloadFont
also worksfont-face
declarations need to be the first thing in the css file, you have a root
declaration above them. Move that under and it all works.diniamo
04/09/2021, 8:03 PM