Add drop shadow to icon
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 24 KiB |
BIN
android/res/drawable/background.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 564 B After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 5.4 KiB |
Before Width: | Height: | Size: 569 B After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 222 B |
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 80 KiB |
@ -1,7 +1,5 @@
|
||||
package io.anuke.mindustry.ui;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.files.FileHandle;
|
||||
import com.badlogic.gdx.graphics.g2d.GlyphLayout;
|
||||
@ -9,12 +7,21 @@ import com.badlogic.gdx.utils.Align;
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
import com.badlogic.gdx.utils.Pools;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import io.anuke.mindustry.Mindustry;
|
||||
import io.anuke.ucore.core.Core;
|
||||
import io.anuke.ucore.function.Consumer;
|
||||
import io.anuke.ucore.function.Predicate;
|
||||
import io.anuke.ucore.scene.event.Touchable;
|
||||
import io.anuke.ucore.scene.ui.*;
|
||||
import io.anuke.ucore.scene.ui.ButtonGroup;
|
||||
import io.anuke.ucore.scene.ui.Dialog;
|
||||
import io.anuke.ucore.scene.ui.Image;
|
||||
import io.anuke.ucore.scene.ui.ImageButton;
|
||||
import io.anuke.ucore.scene.ui.Label;
|
||||
import io.anuke.ucore.scene.ui.ScrollPane;
|
||||
import io.anuke.ucore.scene.ui.TextButton;
|
||||
import io.anuke.ucore.scene.ui.TextField;
|
||||
import io.anuke.ucore.scene.ui.layout.Table;
|
||||
import io.anuke.ucore.scene.ui.layout.Unit;
|
||||
|
||||
@ -43,7 +50,7 @@ public class FileChooser extends FloatingDialog{
|
||||
}
|
||||
|
||||
private void setupWidgets(){
|
||||
getCell(content()).width(Gdx.graphics.getWidth() / Unit.dp.scl(2f));
|
||||
getCell(content()).maxWidth(Gdx.graphics.getWidth()/Unit.dp.scl(2f));
|
||||
content().pad(-10);
|
||||
|
||||
Table content = new Table();
|
||||
@ -135,7 +142,7 @@ public class FileChooser extends FloatingDialog{
|
||||
//content.add(navigation).colspan(3).left().padBottom(10f).expandX().fillX().height(40f);
|
||||
//content.row();
|
||||
|
||||
content.center().add(pane).width(Gdx.graphics.getWidth()/2).colspan(3).grow();
|
||||
content.center().add(pane).width(Gdx.graphics.getWidth()/Unit.dp.scl(2)).colspan(3).grow();
|
||||
content.row();
|
||||
|
||||
if(!open){
|
||||
|