[Scummvm-git-logs] scummvm master -> 9113f2412038fbfcc57380d9040337e0162507e8

sev- sev at scummvm.org
Tue Apr 13 00:13:44 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9113f24120 GUI: Fix tab dimensions on resize


Commit: 9113f2412038fbfcc57380d9040337e0162507e8
    https://github.com/scummvm/scummvm/commit/9113f2412038fbfcc57380d9040337e0162507e8
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-04-13T02:13:20+02:00

Commit Message:
GUI: Fix tab dimensions on resize

Changed paths:
    gui/widgets/tab.cpp


diff --git a/gui/widgets/tab.cpp b/gui/widgets/tab.cpp
index a24790b4b8..c7cbf208cd 100644
--- a/gui/widgets/tab.cpp
+++ b/gui/widgets/tab.cpp
@@ -329,6 +329,8 @@ void TabWidget::reflowLayout() {
 	_butW = g_gui.xmlEval()->getVar("Globals.TabWidget.NavButton.Width", 10);
 	_butH = g_gui.xmlEval()->getVar("Globals.TabWidget.NavButton.Height", 10);
 
+	_titleSpacing = g_gui.xmlEval()->getVar("Globals.TabWidget.TitleSpacing");
+
 	// If widgets were added or removed in the current tab, without tabs
 	// having been switched using setActiveTab() afterward, then the
 	// firstWidget in the _tabs list for the active tab may not be up to




More information about the Scummvm-git-logs mailing list