*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*/
protected void placeScrollbars() {
if (hScroller != null) {
+ hScroller.setX(Math.min(Math.max(0, getWidth() - 17), 17));
hScroller.setY(getHeight() - 2);
hScroller.setWidth(getWidth() - hScroller.getX() - 3);
hScroller.setBigChange(getWidth() - hScroller.getX() - 3);