Search:

Type: Posts; User: bebexx

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    6,054

    Re: How to change color in blue j

    You can change the font in the Tools,Preferences,Editor Tab, Font-Size.
  2. Replies
    1
    Views
    2,333

    Redraw Issues on Shapes with FX

    Hello

    Trying to get a circle to automatically re-adjust its radius depending on what the user puts in the text field. There are no syntax error and the code compiles but nothing has rendered. The...
  3. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    Same, based on the description StackPane would be more suitable for text ontop of an object or image.

    I switched over to FlowPane and got rid of the second viewport. Works now with a Group and...
  4. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    Yes but I figured out it's the viewport that's causing the issue so I removed the second viewport. I'm curious as to how you've resolved it using Stackpane? The code already looks very close to...
  5. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    Hmm it says that it overlaps one each other like text placed over an image. But there is an alignment that can make it look like this https://docs.oracle.com/javafx/2/layout/img/hbox_stack.png
  6. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    The WxH is 400 x 265 px.

    StackPane determines the position of the children element...perhaps I should use a FlowPane instead
    https://docs.oracle.com/javafx/2/layout/builtin_layouts.htm#CHDGHCDG...
  7. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import...
  8. Replies
    12
    Views
    2,072

    Re: Problems with JavaFX viewport

    https://gist.github.com/9080a576efc08f96f2923f5374e193ca

    Hi I removed the second StackPane so that the two objects only run through the first. Commenting out the viewports resulted in one full...
  9. Replies
    12
    Views
    2,072

    Problems with JavaFX viewport

    Hi All,

    I'm having problems with two objects from the same image that are supposed to be viewable side-by-side with viewport constraint. The first image object shows but not the second.
    ...
Results 1 to 9 of 9