mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Increase maximum list box auto size width
This commit is contained in:
@@ -90,7 +90,7 @@ public class FList<E> extends SkinnedList<E> {
|
|||||||
width = minWidth;
|
width = minWidth;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
int maxWidth = Singletons.getView().getFrame().getWidth() / 2;
|
int maxWidth = Singletons.getView().getFrame().getWidth() - 50;
|
||||||
if (width > maxWidth) {
|
if (width > maxWidth) {
|
||||||
width = maxWidth;
|
width = maxWidth;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user