Commit fbdeb395 authored by kevlahnota's avatar kevlahnota Committed by Anthony Calosa

TODO: adjust settings page description bounds

parent 70bd959c
......@@ -94,7 +94,7 @@ public class SplashScreen extends FContainer {
String disclaimer = "Forge is not affiliated in any way with Wizards of the Coast.\n"
+ "Forge is open source software, released under the GNU Public License.";
g.drawText(disclaimer, disclaimerFont, FProgressBar.SEL_FORE_COLOR,
x, y, w, disclaimerHeight, true, Align.center, true);
x, y, w, disclaimerHeight, false, Align.center, true);
float padding = 20f / 450f * w;
float pbHeight = 57f / 450f * h;
......
......@@ -514,7 +514,7 @@ public class SettingsPage extends TabPage<SettingsScreen> {
g.drawText(value.label, font, foreColor, x, y, w, h, false, Align.left, false);
value.drawPrefValue(g, font, foreColor, x, y, w, h);
h += SettingsScreen.SETTING_PADDING;
h += SettingsScreen.SETTING_PADDING;//TODO: adjust settings page description bounds
g.drawText(value.description, SettingsScreen.DESC_FONT, SettingsScreen.DESC_COLOR, x, y + h, w, totalHeight - h + SettingsScreen.getInsets(w), true, Align.left, false);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment