0

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.

deo2000
  • 3
  • 2
  • Please post some code so we can see what you have tried and what you are trying to accomplish – Milk Aug 04 '17 at 01:26

1 Answers1

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