diff --git a/data/gui/screens/help2.stkgui b/data/gui/screens/help2.stkgui
index 5931ac72d..835e5c9f9 100644
--- a/data/gui/screens/help2.stkgui
+++ b/data/gui/screens/help2.stkgui
@@ -32,55 +32,55 @@
-
-
+
+
diff --git a/data/gui/screens/help3.stkgui b/data/gui/screens/help3.stkgui
index 730f64761..74baba4a0 100644
--- a/data/gui/screens/help3.stkgui
+++ b/data/gui/screens/help3.stkgui
@@ -32,58 +32,58 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/data/gui/screens/help4.stkgui b/data/gui/screens/help4.stkgui
index 4ffc17b68..8bb27db59 100644
--- a/data/gui/screens/help4.stkgui
+++ b/data/gui/screens/help4.stkgui
@@ -32,24 +32,24 @@
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/data/gui/screens/help5.stkgui b/data/gui/screens/help5.stkgui
index 620fbd709..cbe29cc6a 100644
--- a/data/gui/screens/help5.stkgui
+++ b/data/gui/screens/help5.stkgui
@@ -32,24 +32,24 @@
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/data/gui/screens/help6.stkgui b/data/gui/screens/help6.stkgui
index 51779604e..6afbdfbaf 100644
--- a/data/gui/screens/help6.stkgui
+++ b/data/gui/screens/help6.stkgui
@@ -32,40 +32,40 @@
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/data/gui/screens/help7.stkgui b/data/gui/screens/help7.stkgui
index 4e91fd91c..943eccd67 100644
--- a/data/gui/screens/help7.stkgui
+++ b/data/gui/screens/help7.stkgui
@@ -29,16 +29,16 @@
-
-
+
+
-
-
+
+
@@ -47,16 +47,16 @@
-
-
+
+
-
-
+
+
diff --git a/data/gui/screens/tracks_and_gp.stkgui b/data/gui/screens/tracks_and_gp.stkgui
index fce055629..3fa1bdf67 100644
--- a/data/gui/screens/tracks_and_gp.stkgui
+++ b/data/gui/screens/tracks_and_gp.stkgui
@@ -7,21 +7,24 @@
align="center" text_align="center" />
-
+
+ square_items="true" child_width="165" child_height="120" />
-
+
+
+
+
-
+
diff --git a/src/guiengine/layout_manager.cpp b/src/guiengine/layout_manager.cpp
index 1d1c3ecb3..ad0b9c3e2 100644
--- a/src/guiengine/layout_manager.cpp
+++ b/src/guiengine/layout_manager.cpp
@@ -247,7 +247,8 @@ void LayoutManager::readCoords(Widget* self)
//Add padding to elements
if (self->getType() == WTYPE_DIV && self->m_show_bounding_box)
{
- int padding = GUIEngine::getFontHeight() / 2;
+ int padding = std::min(irr_driver->getActualScreenSize().Height,
+ irr_driver->getActualScreenSize().Width) / 36.0f;
if (self->m_properties[PROP_DIV_PADDING].length() > 0)
padding = atoi(self->m_properties[PROP_DIV_PADDING].c_str());
child_max_height += padding * 2;
@@ -322,7 +323,8 @@ void LayoutManager::applyCoords(Widget* self, AbstractTopLevelContainer* topLeve
if (parent != NULL && parent->getType() == WTYPE_DIV && parent->m_show_bounding_box)
{
- int padding = GUIEngine::getFontHeight() / 2;
+ int padding = std::min(irr_driver->getActualScreenSize().Height,
+ irr_driver->getActualScreenSize().Width) / 36.0f;
if (parent->m_properties[PROP_DIV_PADDING].length() > 0)
padding = atoi(parent->m_properties[PROP_DIV_PADDING].c_str());
@@ -448,7 +450,8 @@ void LayoutManager::doCalculateLayout(PtrVector& widgets, AbstractTopLev
if (parent != NULL && parent->getType() == WTYPE_DIV && parent->m_show_bounding_box)
{
- int padding = GUIEngine::getFontHeight() / 2;
+ int padding = std::min(irr_driver->getActualScreenSize().Height,
+ irr_driver->getActualScreenSize().Width) / 36.0f;
if (parent->m_properties[PROP_DIV_PADDING].length() > 0)
padding = atoi(parent->m_properties[PROP_DIV_PADDING].c_str());
diff --git a/src/states_screens/gp_info_screen.cpp b/src/states_screens/gp_info_screen.cpp
index 54154d7a3..6b45b91d7 100644
--- a/src/states_screens/gp_info_screen.cpp
+++ b/src/states_screens/gp_info_screen.cpp
@@ -150,6 +150,7 @@ void GPInfoScreen::beforeAddingWidget()
int id_continue_button = ribbonButtons->findItemNamed("continue");
ribbonButtons->setItemVisible(id_continue_button, true);
ribbonButtons->setLabel(id_continue_button, _("Reload"));
+ getWidget("continue")->setImage("gui/icons/restart.png");
}
}
diff --git a/src/states_screens/tracks_and_gp_screen.cpp b/src/states_screens/tracks_and_gp_screen.cpp
index e24c5497b..63d3e6fac 100644
--- a/src/states_screens/tracks_and_gp_screen.cpp
+++ b/src/states_screens/tracks_and_gp_screen.cpp
@@ -285,7 +285,7 @@ void TracksAndGPScreen::buildTrackList()
}
tracks_widget->addItem(_("Random Track"), "random_track",
- "", 0 /* no badge */,
+ "/gui/icons/track_random.png", 0 /* no badge */,
IconButtonWidget::ICON_PATH_TYPE_RELATIVE);
tracks_widget->updateItemDisplay();