Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Commit

Permalink
GUI fixes - fix font sizes and activate scrollbars on non-Windows LAF
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabomstew committed Mar 3, 2016
1 parent 330d014 commit 7e22bea
Show file tree
Hide file tree
Showing 3 changed files with 391 additions and 69 deletions.
42 changes: 21 additions & 21 deletions src/com/dabomstew/pkrandom/gui/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,8 @@ RandomizerGUI.spRandom2EvosRB.text=Random (basic Pokemon with 2 evolutions)
RandomizerGUI.wpUseTimeCB.toolTipText=<html>This affects games that have either seasons or morning/day/night encounter sets.<br />If this is checked, each of these sets will be treated as a separate "area".<br />So you will have to visit each place in morning/day/night, or in each season, to collect the Pokemon.<br />If this isn't checked, all of morning/day/night and all seasons will use the same encounter data.
RandomizerGUI.wpUseTimeCB.text=Use time-based encounters?
RandomizerGUI.wpNoLegendariesCB.text=Don't use legendaries?
RandomizerGUI.tmhmsPanel.border.title=TMs & HMs
RandomizerGUI.stpRandomTotalRB.toolTipText=<html>Selecting this will replace every static Pokemon encounter, gift or purchase with another random one.<br />In this particular mode, any Pokemon can replace any other Pokemon, so you could get a Mew in the Game Corner.<br />Or fight Magikarp instead of Mewtwo...
RandomizerGUI.stpRandomTotalRB.text=Random (Completely)
RandomizerGUI.tmmUnchangedRB.toolTipText=<html>Leave the moves in TMs as they are.<br />If Metronome Only Mode is selected, all TMs are changed to Metronome and this setting has no effect.
RandomizerGUI.tmmUnchangedRB.text=Unchanged
RandomizerGUI.tmMovesPanel.border.title=TM Moves
RandomizerGUI.tmHmCompatPanel.border.title=TM/HM Compatibility
RandomizerGUI.tmmRandomRB.toolTipText=<html>Give each TM a new move.<br />HM moves are not affected, nor can they be selected to be put in TMs.<br />Each TM will still be unique.<br />If Metronome Only Mode is selected, all TMs are changed to Metronome and this setting has no effect.
RandomizerGUI.tmmRandomRB.text=Random
RandomizerGUI.pbsChangesShuffleRB.toolTipText=<html>Shuffle each Pokemon's stats.<br />For example, its base Attack may be swapped with its base Special Attack, etc.<br />This does not make any Pokemon stronger or weaker.
RandomizerGUI.pbsChangesShuffleRB.text=Shuffle
RandomizerGUI.pbsChangesRandomEvosRB.toolTipText=<html>Randomises each Pokemon's stats, as long as they fall within the original base stat total.<br />Evolutions of a Pokemon will follow that Pokemon's stat distribution.<br />This could make Pokemon stronger or weaker if they get unlucky or lucky rolls on stats they need.
Expand Down Expand Up @@ -79,13 +72,7 @@ RandomizerGUI.ptUnchangedRB.text=Unchanged
RandomizerGUI.pokemonTypesPanel.border.title=Pokemon Types
RandomizerGUI.pbsChangesRandomTotalRB.toolTipText=<html>Randomises each Pokemon's stats, as long as they fall within the original base stat total.<br />Evolutions of a Pokemon will be completely separate from that Pokemon, so evolving a Pokemon will make its stats drastically change.<br />This could make Pokemon stronger or weaker if they get unlucky or lucky rolls on stats they need.
RandomizerGUI.pbsChangesRandomTotalRB.text=Random (completely)
RandomizerGUI.thcRandomTotalRB.toolTipText=<html>Randomise the TMs and HMs that each Pokemon can learn.<br />Each TM or HM will have a 50% chance of being learnable regardless of type.
RandomizerGUI.thcRandomTotalRB.text=Random (completely)
RandomizerGUI.openROMButton.text=Open ROM
RandomizerGUI.thcUnchangedRB.toolTipText=<html>Every Pokemon will be able to learn the same TMs that it could before.<br />Note that this applies even if you change the TM moves, which could lead to some odd combinations.
RandomizerGUI.thcUnchangedRB.text=Unchanged
RandomizerGUI.thcRandomTypeRB.toolTipText=<html>Randomise the TMs and HMs that each Pokemon can learn.<br />Each TM or HM will have:<br />A 90% chance of being learnable if the Pokemon has it as (one of) its type(s).<br />A 50% chance of being learnable if the move is Normal and the Pokemon isn't.<br />A 25% chance otherwise.
RandomizerGUI.thcRandomTypeRB.text=Random (prefer same type)
RandomizerGUI.wpUnchangedRB.toolTipText=Don't change Wild Pokemon at all.
RandomizerGUI.wpUnchangedRB.text=Unchanged
RandomizerGUI.wpRandomRB.toolTipText=<html>Completely randomise Wild Pokemon in every area.<br />This should mean that there are many different Pokemon in each area.
Expand Down Expand Up @@ -237,16 +224,10 @@ RandomizerGUI.pbsStandardEXPCurvesCB.text=Standardize EXP Curves
RandomizerGUI.pbsStandardEXPCurvesCB.toolTipText=<html>When this is selected, every Pokemon's EXP curve will be changed to one of the following:<ul><li>Medium Fast (1,000,000 EXP to Level 100) if it isn't a legendary<li>Slow (1,250,000 EXP to Level 100) if it is.</ul>This will cause Pokemon to be better or worse based more on their stats/moves/type rather than the difficulty of leveling them.<br /><b>WARNING: This will break trade compatibility with ROMs that don't have this option enabled. Use with caution.</b>
RandomizerGUI.pms4MovesCB.toolTipText=<html>Check this to make sure every Pokemon gets 4 moves at level 1, instead of them keeping their original move count.<br />This ensures that every Pokemon you catch will have a full moveset.<br />This is now available for all supported games.
RandomizerGUI.pms4MovesCB.text=Every Pokemon starts with 4 moves?
RandomizerGUI.tmLearningSanityCB.text=TM/Levelup Move Sanity?
RandomizerGUI.tmLearningSanityCB.toolTipText=<html>If you select this option, then Pokemon will be guaranteed to learn TMs of moves that they learn by levelup.<br />Otherwise, move compatibility will be left alone or decided randomly, depending on your other choices.
RandomizerGUI.tmKeepFieldMovesCB.text=Keep field move TMs?
RandomizerGUI.tmKeepFieldMovesCB.toolTipText=<html>If you select this, TMs that contain field-use moves will be left alone.<br />This includes things like Dig & Teleport, but not healing moves (Softboiled).
RandomizerGUI.mtLearningSanityCB.toolTipText=<html>If you select this option, then Pokemon will be guaranteed to learn move tutors of moves that they learn by levelup.<br />Otherwise, move compatibility will be left alone or decided randomly, depending on your other choices.
RandomizerGUI.mtLearningSanityCB.text=Tutor/Levelup Move Sanity?
RandomizerGUI.mtKeepFieldMovesCB.toolTipText=<html>If you select this, move tutors that contain field-use moves will be left alone.<br />This includes things like Headbutt, but not healing moves (Softboiled).
RandomizerGUI.mtKeepFieldMovesCB.text=Keep field move tutors?
RandomizerGUI.thcFullRB.text=Full compatibility
RandomizerGUI.thcFullRB.toolTipText=<html>Select this option to allow every Pokemon to learn every TM/HM.<br />This can be fun to mess around with, but it might make the game too easy.
RandomizerGUI.mtcFullRB.text=Full compatibility
RandomizerGUI.mtcFullRB.toolTipText=<html>Select this option to allow every Pokemon to learn every Move Tutor move.<br />This can be fun to mess around with, but it might make the game too easy.
RandomizerGUI.goCondenseEvosCheckBox.toolTipText=<html>If this is checked, Pokemon that evolve at a very high level will evolve at lower levels to make them more viable for shorter playthroughs.<br />Specifically, every Pokemon will evolve to its final stage by level 40, and three-stage evolutions will reach their middle stage by no later than level 30.<br /><b>Takes effect regardless of whether evolutions are randomized or not.</b>
Expand Down Expand Up @@ -287,8 +268,6 @@ RandomizerGUI.tmHmTutorPanel.TabConstraints.tabTitle=TM/HMs & Tutors
RandomizerGUI.startersInnerPanel.TabConstraints.tabTitle=Starters, Statics & Trades
RandomizerGUI.trainersInnerPanel.TabConstraints.tabTitle=Trainer Pokemon
RandomizerGUI.fieldItemsInnerPanel.TabConstraints.tabTitle=Field Items
RandomizerGUI.tmFullHMCompatCB.text=Full HM Compatibility?
RandomizerGUI.tmFullHMCompatCB.toolTipText=<html>If you select this option, then every Pokemon will learn every HM, regardless of any other options you check.
RandomizerGUI.versionLabel.text=Randomizer Version 1.7.0a
RandomizerGUI.websiteLinkLabel.text=<html><a href="http://pokehacks.dabomstew.com/randomizer">http://pokehacks.dabomstew.com/randomizer</a>
RandomizerGUI.peUnchangedRB.text=Unchanged
Expand Down Expand Up @@ -375,3 +354,24 @@ CodeTweaks.lowerCaseNames.name=Lower Case Pokemon Names
CodeTweaks.catchingTutorial.toolTipText=<html>Selecting this option will randomize the Pokemon participating in the game's catching tutorial.
CodeTweaks.catchingTutorial.name=Randomize Catching Tutorial
RandomizerGUI.gameMascotLabel.text=
RandomizerGUI.thcFullRB.toolTipText=<html>Select this option to allow every Pokemon to learn every TM/HM.<br />This can be fun to mess around with, but it might make the game too easy.
RandomizerGUI.thcFullRB.text=Full compatibility
RandomizerGUI.thcRandomTotalRB.toolTipText=<html>Randomise the TMs and HMs that each Pokemon can learn.<br />Each TM or HM will have a 50% chance of being learnable regardless of type.
RandomizerGUI.thcRandomTotalRB.text=Random (completely)
RandomizerGUI.thcRandomTypeRB.toolTipText=<html>Randomise the TMs and HMs that each Pokemon can learn.<br />Each TM or HM will have:<br />A 90% chance of being learnable if the Pokemon has it as (one of) its type(s).<br />A 50% chance of being learnable if the move is Normal and the Pokemon isn't.<br />A 25% chance otherwise.
RandomizerGUI.thcRandomTypeRB.text=Random (prefer same type)
RandomizerGUI.thcUnchangedRB.toolTipText=<html>Every Pokemon will be able to learn the same TMs that it could before.<br />Note that this applies even if you change the TM moves, which could lead to some odd combinations.
RandomizerGUI.thcUnchangedRB.text=Unchanged
RandomizerGUI.tmHmCompatPanel.border.title=TM/HM Compatibility
RandomizerGUI.tmFullHMCompatCB.toolTipText=<html>If you select this option, then every Pokemon will learn every HM, regardless of any other options you check.
RandomizerGUI.tmFullHMCompatCB.text=Full HM Compatibility?
RandomizerGUI.tmKeepFieldMovesCB.toolTipText=<html>If you select this, TMs that contain field-use moves will be left alone.<br />This includes things like Dig & Teleport, but not healing moves (Softboiled).
RandomizerGUI.tmKeepFieldMovesCB.text=Keep field move TMs?
RandomizerGUI.tmLearningSanityCB.toolTipText=<html>If you select this option, then Pokemon will be guaranteed to learn TMs of moves that they learn by levelup.<br />Otherwise, move compatibility will be left alone or decided randomly, depending on your other choices.
RandomizerGUI.tmLearningSanityCB.text=TM/Levelup Move Sanity?
RandomizerGUI.tmmRandomRB.toolTipText=<html>Give each TM a new move.<br />HM moves are not affected, nor can they be selected to be put in TMs.<br />Each TM will still be unique.<br />If Metronome Only Mode is selected, all TMs are changed to Metronome and this setting has no effect.
RandomizerGUI.tmmRandomRB.text=Random
RandomizerGUI.tmmUnchangedRB.toolTipText=<html>Leave the moves in TMs as they are.<br />If Metronome Only Mode is selected, all TMs are changed to Metronome and this setting has no effect.
RandomizerGUI.tmmUnchangedRB.text=Unchanged
RandomizerGUI.tmMovesPanel.border.title=TM Moves
RandomizerGUI.tmhmsPanel.border.title=TMs & HMs
45 changes: 22 additions & 23 deletions src/com/dabomstew/pkrandom/gui/RandomizerGUI.form
Original file line number Diff line number Diff line change
Expand Up @@ -126,29 +126,24 @@
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="generalOptionsPanel" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<Component id="loadQSButton" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="saveQSButton" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="romInfoPanel" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="28" pref="28" max="-2" attributes="0"/>
<Component id="gameMascotLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="openROMButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="saveROMButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="usePresetsButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="updateSettingsButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
</Group>
<Component id="generalOptionsPanel" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="18" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="1" attributes="0">
<Component id="loadQSButton" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="saveQSButton" min="-2" max="-2" attributes="0"/>
</Group>
<Component id="randomizerOptionsPane" min="-2" pref="759" max="-2" attributes="0"/>
<Component id="romInfoPanel" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="28" pref="28" max="-2" attributes="0"/>
<Component id="gameMascotLabel" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="37" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="openROMButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="saveROMButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="usePresetsButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
<Component id="updateSettingsButton" alignment="1" min="-2" pref="159" max="-2" attributes="0"/>
</Group>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
Expand All @@ -157,8 +152,12 @@
<EmptySpace max="32767" attributes="0"/>
<Component id="websiteLinkLabel" min="-2" max="-2" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
<Component id="randomizerOptionsPane" min="-2" pref="759" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="32767" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down
Loading

0 comments on commit 7e22bea

Please sign in to comment.