UIElement.CalculateSize (Civ5 API)

From Civilization Modding Wiki
Revision as of 14:35, 20 September 2012 by DonQuich (talk | contribs) (Bot update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of ControlBase.

This is an instance method, invoke it with a colon.


Usage

void UIElement:CalculateSize()



Source code samples

Too many occurences. Only 50 out of 424 are listed.

AdvancedSetup.lua

UI/FrontEnd/GameSetup/AdvancedSetup.lua
0151
Controls.DropDownOptionsStack:CalculateSize();
0244
Controls.MaxTurnStack:CalculateSize();
0250
Controls.GameOptionsFullStack:CalculateSize();
1067
Controls.VictoryConditionsStack:CalculateSize();


AdvisorInfoPopup.lua

UI/InGame/Popups/AdvisorInfoPopup.lua
0130
Controls.RelatedConceptButtonStack:CalculateSize();


CityStateDiploPopup.lua

UI/InGame/Popups/CityStateDiploPopup.lua
0806
Controls.ButtonStack:CalculateSize();


CityView.lua

UI/InGame/CityView/CityView.lua
0728
Controls.TitleStack:CalculateSize();
1256
Controls.WorkerManagementBox:CalculateSize();
1305
Controls.NotificationStack:CalculateSize();


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
1294
Controls.NarrowStack:CalculateSize();
1296
Controls.SuperWideStack:CalculateSize();


CustomMod.lua

UI/FrontEnd/Modding/CustomMod.lua
0132
Controls.LoadFileButtonStack:CalculateSize();


DiploCurrentDeals.lua

UI/InGame/Popups/DiploCurrentDeals.lua
0074
Controls.CurrentDealsStack:CalculateSize();
0075
Controls.HistoricDealsStack:CalculateSize();
0076
Controls.AllDealsStack:CalculateSize();


DiploGlobalRelationships.lua

UI/InGame/Popups/DiploGlobalRelationships.lua
0279
controlTable.WondersStack:CalculateSize();
0301
controlTable.PlayerInfoStack:CalculateSize();


DiploList.lua

UI/InGame/DiploList.lua
0368
controlTable.StatusStack:CalculateSize();
0395
Controls.MinorStack:CalculateSize();


DiploRelationships.lua

UI/InGame/Popups/DiploRelationships.lua
0091
controlTable.CityStack:CalculateSize();


DiscussionDialog.lua

UI/InGame/LeaderHead/DiscussionDialog.lua
0824
Controls.LeaderStack:CalculateSize();


EconomicGeneralInfo.lua

UI/InGame/Popups/EconomicGeneralInfo.lua
0223
Controls.CityStack:CalculateSize();
0383
Controls.GoldStack:CalculateSize();


EspionageOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/EspionageOverview.lua
0341
Controls.ConfirmContent:CalculateSize();
0774
agentEntry.AgentActivitiesStack:CalculateSize();
1075
Controls.MyCityStack:CalculateSize();
1373
Controls.TheirCityStack:CalculateSize();
1498
Controls.IntrigueMessageStack:CalculateSize();


GameMenu.lua

UI/InGame/Menus/GameMenu.lua
0420
Controls.SetupOptions:CalculateSize();
0426
Controls.AdvancedOptions:CalculateSize();


HappinessInfo.lua

UI/InGame/Popups/HappinessInfo.lua
0106
Controls.ResourcesStack:CalculateSize();
0356
Controls.GarrisonStack:CalculateSize();
0645
Controls.ResourcesAvailableStack:CalculateSize();


ProductionPopup.lua

UI/InGame/Popups/ProductionPopup.lua
0727
Controls.UnitButtonStack:CalculateSize();
0730
Controls.BuildingButtonStack:CalculateSize();


Ranking.lua

UI/InGame/Popups/Ranking.lua
0042
controlTable.MyStack:CalculateSize();


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0336
Controls.GreatPersonList:CalculateSize();
0633
Controls.BeliefsStack:CalculateSize();


ResourceList.lua

UI/InGame/ResourceList.lua
0153
Controls.LuxuryStack:CalculateSize();


SelectCivilization.lua

UI/FrontEnd/GameSetup/SelectCivilization.lua
0236
Controls.Stack:CalculateSize();


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
1563
Controls.UsPocketLuxuryStack:CalculateSize();
1568
Controls.UsTableCitiesStack:CalculateSize();
1569
Controls.ThemTableCitiesStack:CalculateSize();
1571
Controls.ThemPocketLeaderStack:CalculateSize();
1575
Controls.ThemTableMakePeaceStack:CalculateSize();
1581
Controls.UsTableStack:CalculateSize();
2495
m_pocketStack:CalculateSize();


UnitList.lua

UI/InGame/UnitList.lua
0227
instance.UnitStack:CalculateSize();


UnitPanel.lua (G&K)

DLC/Expansion/UI/InGame/WorldView/UnitPanel.lua
0289
Controls.PrimaryStack:CalculateSize();


VictoryProgress.lua

UI/InGame/Popups/VictoryProgress.lua
0541
Controls.ScoreStack:CalculateSize();



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.