(ERROR) Label should have a minimum height for this font

Issue #10 open
A_Crippled_Bug created an issue

Every time i try to right the dvd menu i get this i have no i dea why!

[21:20:29] (ERROR) Label [Battlefield 4™] should have a minimum height of 17.00 for this font. java.util.zip.DataFormatException: Label [Battlefield 4™] should have a minimum height of 17.00 for this font.

Comments (8)

  1. 巴蒂斯Badisi repo owner

    When editing a theme you can change the height and font size of a text component. These two properties are related as you should not be able to have a text component smaller in height than its font size required.

    Editing the theme you are using and changing the height of the label that displays 'Battlefield 4' should fix this.

    EDIT: to avoid this error, this is now checked while editing a theme (i.e. while changing the font or height of a label) to auto adjust the height if trying to make it smaller.

  2. A_Crippled_Bug reporter

    i changed the theme and it runs thrugh dd styler and all fine but doesnt seem to load the dvd menu on my xk3y

  3. 巴蒂斯Badisi repo owner

    I have updated the documentation section by adding tutorials on how to create and use a dvd-menu. Maybe you could have a look at it.

    EDIT: since you now have the invalid game iso error I can't help any further I'm sorry.. See my reply to your post #12

  4. 巴蒂斯Badisi repo owner

    Resolved in 1.7

    I've kept this check during the build process (in case a theme is only edited manually through the layout.xml file) and added the same check in the theme editor (height is auto adjusted while changing font size or text item height)

  5. 巴蒂斯Badisi repo owner
    • changed status to open

    The previous fix was to fix this issue while editing a theme. But by default every theme uses the default operating system font. Meaning that, depending on the OS, when you simply use a theme (not modify it) a font can be bigger or smaller than the label height that was originally calculated for that theme, bringing back this error to life.

    I'm reopening this issue for that reason and to definitively get rid of that error by automagically fixing it every time it happens.

  6. Log in to comment