M micro Well-Known Member Licensed User Longtime User May 19, 2016 #1 Hi to all in the tableview the scrollbar are too small (width in vertical scroolbar and height in orrizontal scroolbar), there is a way to increase the dimension? Thanks
Hi to all in the tableview the scrollbar are too small (width in vertical scroolbar and height in orrizontal scroolbar), there is a way to increase the dimension? Thanks
Erel B4X founder Staff member Licensed User Longtime User May 19, 2016 #2 Based on this answer: http://stackoverflow.com/questions/21044375/hijavafx-tableview-scrollbar-thickness-by-css Attachments TableView.zip TableView.zip 1.9 KB · Views: 631 Upvote 0
Based on this answer: http://stackoverflow.com/questions/21044375/hijavafx-tableview-scrollbar-thickness-by-css
M micro Well-Known Member Licensed User Longtime User May 20, 2016 #3 Thanks Erel I used the same file but not work. In AppStart i load the css file and the Tableview is loaded later when i loads the appropriate layout. The strange thing is that also without css file, in the default mode, the scrollbar is really very small. where am I wrong? Upvote 0
Thanks Erel I used the same file but not work. In AppStart i load the css file and the Tableview is loaded later when i loads the appropriate layout. The strange thing is that also without css file, in the default mode, the scrollbar is really very small. where am I wrong?
M micro Well-Known Member Licensed User Longtime User May 21, 2016 #4 Example Attachments example.jpg 7.7 KB · Views: 649 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 22, 2016 #5 What happens when you run the project I've uploaded? Upvote 0
M micro Well-Known Member Licensed User Longtime User May 22, 2016 #6 Erel said: What happens when you run the project I've uploaded? Click to expand... The scroll bar are correctl displayed and if i edit table.CSS with new dimensioni it's work correctly. Why Not in my project? Upvote 0
Erel said: What happens when you run the project I've uploaded? Click to expand... The scroll bar are correctl displayed and if i edit table.CSS with new dimensioni it's work correctly. Why Not in my project?
Erel B4X founder Staff member Licensed User Longtime User May 22, 2016 #7 micro said: Why Not in my project? Click to expand... How can we know without seeing anything about your project... Upvote 0
micro said: Why Not in my project? Click to expand... How can we know without seeing anything about your project...
M micro Well-Known Member Licensed User Longtime User May 22, 2016 #8 Erel said: How can we know without seeing anything about your project... Click to expand... Simply: Put Tableview on a Pane and create layout with Internal designer. Load layout from project and fill table with query. Upvote 0
Erel said: How can we know without seeing anything about your project... Click to expand... Simply: Put Tableview on a Pane and create layout with Internal designer. Load layout from project and fill table with query.
M micro Well-Known Member Licensed User Longtime User May 22, 2016 #9 In your example Erel if fill TableView with: Code: Copy For i = 1 To 500 TableView1.Items.Add(Array(i, i, i, i, i, i, i, i, i, i, i, i )) Next The dimension of the scrollbar are those described by table.css while if i fill the TableView with: Code: Copy pool.Initialize("con.mysql.jdbc.Driver", "jdbc:mysql://localhost:3307/GesProd", "xxxx", "xxxx") Dim sql As SQL = pool.GetConnection DBUtils.ExecuteTableView(sql, "SELECT * FROM Products", Null, 0, TableView1) table.css not work, the dimension of the scroolbar are very small, pratically thi's my problem. Last edited: May 22, 2016 Upvote 0
In your example Erel if fill TableView with: Code: Copy For i = 1 To 500 TableView1.Items.Add(Array(i, i, i, i, i, i, i, i, i, i, i, i )) Next The dimension of the scrollbar are those described by table.css while if i fill the TableView with: Code: Copy pool.Initialize("con.mysql.jdbc.Driver", "jdbc:mysql://localhost:3307/GesProd", "xxxx", "xxxx") Dim sql As SQL = pool.GetConnection DBUtils.ExecuteTableView(sql, "SELECT * FROM Products", Null, 0, TableView1) table.css not work, the dimension of the scroolbar are very small, pratically thi's my problem.
Erel B4X founder Staff member Licensed User Longtime User May 23, 2016 #10 It doesn't matter where the data comes from. Try to reproduce it in a small project (without the mysql db) and upload it. Upvote 0
It doesn't matter where the data comes from. Try to reproduce it in a small project (without the mysql db) and upload it.
M micro Well-Known Member Licensed User Longtime User May 23, 2016 #11 Removing this line: Code: Copy #VirtualMachineArgs: -Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.touch=true Tableview work correctly. Upvote 0
Removing this line: Code: Copy #VirtualMachineArgs: -Dcom.sun.javafx.isEmbedded=true -Dcom.sun.javafx.touch=true Tableview work correctly.