I’ve got 2 sliders. A rotary one and a verticle one. As you can se tyeh are at the same height but the textbox are at different heights. size and position is programmed like this:
rotary.setBounds(localBounds.getWidth() / 40,
localBounds.getHeight() / 8,
localBounds.getWidth() / 4.8,
localBounds.getHeight() / 2.5);
vertical.setBounds(localBounds.getWidth() / 6.8,
localBounds.getHeight() / 8,
localBounds.getWidth() / 4.8,
localBounds.getHeight() / 2.7);
they look like this:
Is there a way to move the height of the textbox relative to the slider based on the way above (with relativity to the height)?