mirror of https://github.com/FreeCol/freecol.git
Adjusts sizes for the buildings in the colony panel. The height requirement of a building no longer changes when a worker is added. The vertical gap between buildings are now reduced on small screens.
This commit is contained in:
parent
c9379c201b
commit
62fd6987ab
|
@ -76,7 +76,7 @@ public class BuildingPanel extends MigPanel implements PropertyChangeListener {
|
|||
* @param building The building to display information from.
|
||||
*/
|
||||
public BuildingPanel(FreeColClient freeColClient, Building building) {
|
||||
super(new MigLayout("", "[32][32][32]", "[32][44]"));
|
||||
super(new MigLayout("", "[16!][16!][16!]", "[16!][22!]"));
|
||||
|
||||
this.freeColClient = freeColClient;
|
||||
this.building = building;
|
||||
|
|
|
@ -1705,8 +1705,7 @@ public final class ColonyPanel extends PortPanel
|
|||
* Creates this BuildingsPanel.
|
||||
*/
|
||||
public BuildingsPanel() {
|
||||
super("BuildingsPanelUI",
|
||||
new MigLayout("fill, wrap 4, insets 0, gap 0:10:10:push"));
|
||||
super("BuildingsPanelUI", new MigLayout("fill, wrap 4, insets 0, gap 0:10:10:push 0:10:10:push"));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue