Time |
S |
Nick |
Message |
08:08 |
|
|
aditsu joined #sourcefu |
08:36 |
|
|
sivoais joined #sourcefu |
08:46 |
|
|
sivoais joined #sourcefu |
08:57 |
|
|
sivoais joined #sourcefu |
09:07 |
|
|
sivoais joined #sourcefu |
09:17 |
|
|
sivoais joined #sourcefu |
09:18 |
|
|
aditsu joined #sourcefu |
09:27 |
|
|
sivoais joined #sourcefu |
09:38 |
|
|
sivoais joined #sourcefu |
09:48 |
|
|
sivoais joined #sourcefu |
09:48 |
|
|
sivoais joined #sourcefu |
09:58 |
|
|
sivoais joined #sourcefu |
10:08 |
|
|
sivoais joined #sourcefu |
10:19 |
|
|
sivoais joined #sourcefu |
10:29 |
|
|
sivoais joined #sourcefu |
10:39 |
|
|
sivoais joined #sourcefu |
10:49 |
|
|
sivoais joined #sourcefu |
10:59 |
|
|
sivoais joined #sourcefu |
15:44 |
|
|
aditsu joined #sourcefu |
16:28 |
|
|
aditsu joined #sourcefu |
17:06 |
|
aditsu |
semiosis: hi there, can I ask you a different javafx question? :) |
17:07 |
|
|
dotplus joined #sourcefu |
17:07 |
|
|
dotplus joined #sourcefu |
17:07 |
|
|
pdurbin joined #sourcefu |
17:12 |
|
semiosis |
dont ask to ask, just ask :) |
17:13 |
|
aditsu |
heh, ok :) http://stackoverflow.com/questions/33131235/javafx-gridpane-column-sizing |
17:19 |
|
semiosis |
i struggle with ui layouts too |
17:21 |
|
aditsu |
I thought I read about a way to do layout using html, but I can't find it anymore... or maybe it was not for JavaFX |
17:23 |
|
aditsu |
anyway, I used to do all sorts of complicated layouts in Swing (often using a 3rd party layout manager) |
17:24 |
|
aditsu |
but with JavaFX, I have to start over :p |
17:32 |
|
semiosis |
imho building a UI with FXML+CSS is way easier than doing it programmatically in Java |
17:33 |
|
semiosis |
oracle used to provide the JavaFX Scenebuilder, but they've stopped releasing that. Now it's maintained by Gluon, get it here: http://gluonhq.com/open-source/scene-builder/ |
17:34 |
|
semiosis |
that is the de facto JavaFX WYSIWYG editor |
17:34 |
|
aditsu |
do you think it can build the layout I want? |
17:35 |
|
aditsu |
I read there's also an eclipse plugin - http://www.eclipse.org/efxclipse/index.html |
17:35 |
|
semiosis |
dunno but in any case it should be easier to experiment with than java code |
17:36 |
|
semiosis |
eclipse, bleh. intelliJ all the way! |
17:38 |
|
aditsu |
heh, I don't think I tried it for more than 5 min |
17:39 |
|
aditsu |
hm, the page that mentioned efxclipse actually talks about Scene Builder for the GUI part |
17:44 |
|
aditsu |
it looks quite nice, now let's see how to change things... |
17:47 |
|
aditsu |
I managed to reproduce the problem with it :p |
17:50 |
|
aditsu |
semiosis: can you get it to work correctly? |
17:55 |
|
aditsu |
with certain settings, the 2nd spinner shrinks but not the 1st one, it's so weird |
17:56 |
|
aditsu |
(they have identical settings, of course) |
18:00 |
|
aditsu |
I think Scene Builder is also reproducing my other problem, I can see some junk characters in the menus :p |
18:01 |
|
aditsu |
I'm guessing it's trying to render an ellipsis |
18:01 |
|
aditsu |
(although that's in the basic plane) |
18:08 |
|
aditsu |
https://bugs.openjdk.java.net/browse/JDK-8133106 |
18:16 |
|
aditsu |
it seems that JavaFX is too buggy to use (and you gave up on helping me) |
18:19 |
|
pdurbin |
too buggy to use? |
18:20 |
|
aditsu |
yeah, I just wrote a few simple things so far and already hit a couple of serious bugs |
18:20 |
|
pdurbin |
gotcha |
18:21 |
|
aditsu |
unless I'm doing something wrong.. but I can't find any indication of that |
18:24 |
|
aditsu |
maybe it will become stable in a few years :p |
18:27 |
|
pdurbin |
:) |
18:38 |
|
aditsu |
I answered my own question |
18:39 |
|
* pdurbin |
looks at http://stackoverflow.com/questions/33131235/javafx-gridpane-column-sizing |
18:55 |
|
aditsu |
haha, I can use Swing spinners (JSpinner) via SwingNode, they resize perfectly :p |
18:56 |
|
aditsu |
but dealing with the right threads is another can of worms |
18:56 |
|
semiosis |
nice! |
18:56 |
|
semiosis |
i rather liked javafx's threading support |
18:56 |
|
semiosis |
Platform.runLater(all the things); |
18:57 |
|
aditsu |
that's just like SwingUtilities.invokeLater... except it's a different thread |
18:57 |
|
semiosis |
i skipped awt & swing entirely, just started java ui with javafx |
18:58 |
|
aditsu |
I like the Task class in JavaFX |
21:37 |
|
|
pdurbin_m joined #sourcefu |
21:37 |
|
pdurbin_m |
Neckbeard Hacker on Twitter: "If by "container" you mean emacs...yes, I deploy and run my app inside a container.": https://mobile.twitter.com/NeckbeardHacker/status/654410350696206340 |