I have a JavaFX app with ComboBoxes and labels. It looks fine in Windows XP but in Windows 7, the font sizes and comboboxe sizes are larger. I tried sizing the comboboxes with setstyle CSS with no results.
Asked
Active
Viewed 40 times
1 Answers
1
The fact that changing PC's result is different is to be considered based on PC screen resolution, And the fact that you can not modify the size seems to be a problem you have in both codes, only that on w.XP is a negligible problem.
A) Advanced solution:
1: Determine the screen size some code
2: Cenge the size some code
B) Not so advanced solution:
1: ask from the user the size of the text he like
2: cange the size (like A.2)

Francesco
- 396
- 3
- 7
- 17