TODO: adjust settings page description bounds

This commit is contained in:
kevlahnota
2019-08-26 10:39:29 +08:00
committed by Anthony Calosa
parent 70bd959ca9
commit fbdeb3953b
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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);
}
}