Questions tagged [textflow]
52 questions
2
votes
1 answer
TitledPane not resized vertically when using a TextFlow in a custom control
I'm using a TextFlow with a Text inside a custom JavaFX control and this control is placed in a TitledPane.
Control declaration :
public class CustomControl extends Control {
@Override
protected Skin> createDefaultSkin() {
return…

amischler
- 128
- 5
2
votes
1 answer
TextFlow in JavaFX does not show anything
I have created a UI for my application using "JavaFX Scene Builder".
I need to show text inside the TextFlow object so in my class (implements javafx.fxml.Initializable ) I write this
public void initialize(URL location, ResourceBundle resources)
{…

Matt
- 773
- 2
- 15
- 32
2
votes
1 answer
TLF find element position
I got a issue with the TLF trying to find the position of an element (e.g. LinkElement), before it is added to the display list.
I tried the following code:
Create my textFlow:
var textFlow:TextFlow =…

Guillaume
- 59
- 6
2
votes
1 answer
How do you style TextFlow with CSS Styles in Flex 4.5.1?
I would like to be able to style a TextFlow element with styles defined in my CSS file. My current TextFlow implementation is shown below but changes to my styles do not seem to take effect. How would I style TextFlow with CSS styles in Flex…

Ryan Taylor
- 8,740
- 15
- 65
- 98
1
vote
1 answer
How do I handle events with a TextFlow control?
I'm building a simple login registration form and I'm trying to use a text flow to switch the scene of the primary stage but for some reason, none of the event handlers I have attempted to use are working as intended
this is what i have tried so…
1
vote
1 answer
JavaFX textflow ignoring assigned background color and size
public BasicView(String name) {
super(name);
Button b = new Button("test test test");
this.getChildren().addAll(b);
width = MobileApplication.getInstance().getScreenWidth();
height =…

Jonathan
- 87
- 11
1
vote
1 answer
How to use TextFlow from FXML?
Crossposted:
• https://community.oracle.com/message/13853226#13853226
• http://www.coderanch.com/t/666101/JavaFX/java/TextFlow-FXML#3105251
I am trying to use TextFlow coming from FXML in controller during app execution (not at start-up) but no text…

Yarl
- 728
- 1
- 7
- 26
1
vote
1 answer
JavaFX TextFlow - empty Text Node not displaying empty (stealing character from adjacent Text)
This is how the window looks
The issue here is that the center Text (blue) should be empty, but for some reason is not.
The window is just a very simple JavaFX Application. The start method looks like this:
public void start(Stage stage) {
Pane…

Caranown
- 173
- 9
1
vote
1 answer
PDFlib- Right-to-Left textflow
I really need your help...
I use PDFlib-API and i want to write PDF right to left (like Hebrew, Arabic).
I found a way to do this, but it doesnt support text flow, it supports only in one line.
The code in this…

coral
- 181
- 1
- 1
- 12
1
vote
1 answer
Is there a .NET library for the adobe flex textflow XML format
I am sending some data into a system,from a .NET system, that uses the Adobe TextFlow format to render the output,
Is there a .NET Library that can help me out.
for reference the initial tag looks something like this.

Bluephlame
- 3,901
- 4
- 35
- 51
1
vote
1 answer
I want to change fontsize in textflow or label
I'm implementing multiline Label Figure.
I have a question.
How can i change font size of textflow ?
I tried with the method [textflow.setFont] before I had changed height value of fontdata.
use this code,Font tFont =…

Heizel
- 13
- 3
1
vote
2 answers
how to center an image in javafx
How can I move the facebook picture so that it is vertically centered to the text??
Code:
GridPane footerPane = new GridPane();
double size = 15;
TextFlow textFlow = new TextFlow();
Text text1 = new Text("Get prayer time notifications and…

Ossama
- 2,401
- 7
- 46
- 83
1
vote
1 answer
Right-aligned texts ignore multiple trailing spaces
I have a Flex text area (spark) that is used for recording rich text. Among other things, the text can be right-aligned, and some customers are using a combination of right-align+lots of spaces to position their text the way they want. While I don't…

Igor K.
- 750
- 9
- 25
1
vote
1 answer
Styling RichText Bullets in Flex
I am developing an iPad app with RichText components. They are working fine on the target devices. However, bullets look less than stellar. Specifcally, I need to increase the space between the bullet and the list item. It's too close and doesn't…

ShawnPConroy
- 239
- 1
- 10
0
votes
1 answer
Java - TextFlow how to add list of strings? One after each other?
let's say I have this example, how to add it, so that it could be displayed later on with gui inside textflow window? :
List Test1 = ["a", "b", "c", "d"];
List Test2 = ["1", "2", "3", "4"];
Output should be like: ("actual output,…

Lilka101
- 1