Commit 0f91b469 authored by Supernature2k's avatar Supernature2k

gui size and spacing

parent 95ed5ea5
......@@ -378,7 +378,7 @@ GuiMetaDataEd::GuiMetaDataEd(Window* window,
// resize + center
y /= Renderer::getScreenHeight();
setSize(Renderer::getScreenWidth() * 0.7f, Renderer::getScreenHeight() * (y + 0.15f));
setSize(Renderer::getScreenWidth() * 0.95f, Renderer::getScreenHeight() * (y + 0.15f));
setPosition((Renderer::getScreenWidth() - mSize.x()) / 2, (Renderer::getScreenHeight() - mSize.y()) / 2);
}
......
......@@ -11,8 +11,8 @@
#define OFFSET_X 12 // move the entire thing right by this amount (px)
#define OFFSET_Y 12 // move the entire thing up by this amount (px)
#define ICON_TEXT_SPACING 8 // space between [icon] and [text] (px)
#define ENTRY_SPACING 16 // space between [text] and next [icon] (px)
#define ICON_TEXT_SPACING std::max(Renderer::getScreenWidth() * 0.004f, 4.0f) // space between [icon] and [text] (px)
#define ENTRY_SPACING std::max(Renderer::getScreenWidth() * 0.008f, 4.0f) // space between [text] and next [icon] (px)
using namespace Eigen;
......
......@@ -5,8 +5,8 @@
#include "Locale.h"
#include "MenuThemeData.h"
#define BUTTON_GRID_VERT_PADDING Renderer::getScreenHeight() * 0.025f
#define BUTTON_GRID_HORIZ_PADDING 20
#define BUTTON_GRID_VERT_PADDING std::max(Renderer::getScreenHeight() * 0.025f, 4.0f)
#define BUTTON_GRID_HORIZ_PADDING std::max(Renderer::getScreenWidth() * 0.001f, 4.0f)
#define TITLE_HEIGHT (mTitle->getFont()->getLetterHeight() + TITLE_VERT_PADDING)
......
Markdown is supported
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