Skip to content
Snippets Groups Projects
Commit 8d43b77f authored by Drahomír Karchňák's avatar Drahomír Karchňák
Browse files

#616 Heading in QR Code dialog is slightly bigger.

parent afc9fba9
Branches
Tags
No related merge requests found
......@@ -55,8 +55,8 @@ import cz.nic.tablexia.util.ui.dialog.components.ResizableSpaceContentDialogComp
import cz.nic.tablexia.util.ui.dialog.components.TextContentDialogComponent;
public class ProfileScreen extends FormScreen {
private static final ApplicationFontManager.FontType_NEW QR_CODE_DIALOG_HEADING = ApplicationFontManager.FontType_NEW.BOLD_26;
private static final ApplicationFontManager.FontType_NEW RANK_NAME_FONT_TYPE = ApplicationFontManager.FontType_NEW.BOLD_20;
private static final ApplicationFontManager.FontType_NEW UUID_DESCRIPTION_FONT_TYPE = ApplicationFontManager.FontType_NEW.BOLD_16;
private static final ApplicationFontManager.FontType_NEW UUID_FONT_TYPE = ApplicationFontManager.FontType_NEW.BOLD_14;
......@@ -64,8 +64,8 @@ public class ProfileScreen extends FormScreen {
private static final float PROGRESS_BAR_WIDTH = 0.8f;
private static final float PROGRESS_BAR_BOTTOM_OFFSET = 0.28f;
private static final float PROGRESS_BAR_SPEED = 3.0f;
private static final int DIALOG_WIDTH = 450;
private static final int DIALOG_HEIGHT = 380;
private static final int DIALOG_WIDTH = 480;
private static final int DIALOG_HEIGHT = 430;
private static final String PROGRESS_STATUS_ARROW = "gfx/progress_arrow";
private static final float PROGRESS_STATUS_WIDTH = 0.8f;
......@@ -268,7 +268,7 @@ public class ProfileScreen extends FormScreen {
private void showQRCodeDialog() {
TablexiaComponentDialogFactory.getInstance().createDialog(
new ResizableSpaceContentDialogComponent(),
new TextContentDialogComponent(getText(USER_QR_CODE_DESCRIPTION)),
new TextContentDialogComponent(getText(USER_QR_CODE_DESCRIPTION), QR_CODE_DIALOG_HEADING),
new ResizableSpaceContentDialogComponent(),
new ImageContentDialogComponent(new Image(prepareQRCodeTexture())),
new CloseButtonContentDialogComponent(ApplicationTextManager.getInstance().getText(ApplicationTextManager.ApplicationTextsAssets.SYSTEM_CLOSE)),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment