mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Support wrapping in DualListBox
This commit is contained in:
@@ -268,7 +268,7 @@ public class DualListBox<T> extends FDialog {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void drawValue(Graphics g, T value, FSkinFont font, FSkinColor foreColor, boolean pressed, float x, float y, float w, float h) {
|
public void drawValue(Graphics g, T value, FSkinFont font, FSkinColor foreColor, boolean pressed, float x, float y, float w, float h) {
|
||||||
g.drawText(value.toString(), font, foreColor, x, y, w, h, false, HAlignment.LEFT, true);
|
g.drawText(value.toString(), font, foreColor, x, y, w, h, true, HAlignment.LEFT, true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
setFontSize(12);
|
setFontSize(12);
|
||||||
|
|||||||
Reference in New Issue
Block a user