Skip to main content

horizontal scroll

3 replies [Last post]
tengimon
Offline
Joined: 2008-06-23
Points: 0

Hi,
I am having problems with putting in a horizontal scroll in my frame with a table that has a lot of columns that doesn't fit right in the frame. all the columns got shrunk. is there any ways to put in a horizontal scroll, so the columns wont get shrunk?

Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexsch
Offline
Joined: 2007-07-12
Points: 0

Could you post a code snippet that shows the problem?

tengimon
Offline
Joined: 2008-06-23
Points: 0

Ok here is a code. little frame with many table columns. I just want to make it possible to view all the column titles clearly by putting a horizontal scroll bar.
From here, i don't know what to do.
-----------------------------------------------------------------------------
import javafx.ui.*;
Frame {
height: 150 width: 250
visible: true
title: "Hello"
content: Table{
columns: for (i in [0..20]){
TableColumn{text: "column {[i]}"}}
}
}

alexsch
Offline
Joined: 2007-07-12
Points: 0

It seems that it is a bug in the Components library.
Please, file an issue on it: http://openjfx.java.sun.com/jira/secure/CreateIssue!default.jspa