UIElement.CalculateInternalSize (Civ5 API)

From Civilization Modding Wiki
Revision as of 14:36, 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:CalculateInternalSize()



Source code samples

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

AdvancedSetup.lua

UI/FrontEnd/GameSetup/AdvancedSetup.lua
0154
Controls.OptionsScrollPanel:CalculateInternalSize();
0327
Controls.ListingScrollPanel:CalculateInternalSize();


AdvisorCounselPopup.lua

UI/InGame/Popups/AdvisorCounselPopup.lua
0121
Controls.EA_ScrollPanel:CalculateInternalSize();
0128
Controls.MA_ScrollPanel:CalculateInternalSize();
0135
Controls.FA_ScrollPanel:CalculateInternalSize();
0142
Controls.SA_ScrollPanel:CalculateInternalSize();


AdvisorInfoPopup.lua

UI/InGame/Popups/AdvisorInfoPopup.lua
0076
Controls.DescriptionPanel:CalculateInternalSize();
0132
Controls.RelatedConceptPanel:CalculateInternalSize();


ChooseFaithGreatPerson.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseFaithGreatPerson.lua
0136
Controls.ItemScrollPanel:CalculateInternalSize();


ChooseReligionPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseReligionPopup.lua
0329
Controls.ReligionScrollPanel:CalculateInternalSize();
0532
Controls.BeliefScrollPanel:CalculateInternalSize();


CityStateDiploPopup.lua

UI/InGame/Popups/CityStateDiploPopup.lua
0809
Controls.ButtonScrollPanel:CalculateInternalSize();


CityView.lua

UI/InGame/CityView/CityView.lua
0898
Controls.ProductionHelpScroll:CalculateInternalSize();


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
0125
Controls.ScrollPanel:CalculateInternalSize();
0126
Controls.LeftScrollPanel:CalculateInternalSize();


Credits.lua

UI/FrontEnd/Credits.lua
0088
Controls.MajorScroll:CalculateInternalSize();


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0182
Controls.ChatScroll:CalculateInternalSize();


DiploCurrentDeals.lua

UI/InGame/Popups/DiploCurrentDeals.lua
0077
Controls.ListScrollPanel:CalculateInternalSize();


DiploGlobalRelationships.lua

UI/InGame/Popups/DiploGlobalRelationships.lua
0315
Controls.MajorCivScrollPanel:CalculateInternalSize();


DiploRelationships.lua

UI/InGame/Popups/DiploRelationships.lua
0110
Controls.MinorCivScrollPanel:CalculateInternalSize();


DiscussionDialog.lua

UI/InGame/LeaderHead/DiscussionDialog.lua
0826
Controls.LeaderScrollPanel:CalculateInternalSize();


EconomicGeneralInfo.lua

UI/InGame/Popups/EconomicGeneralInfo.lua
0169
Controls.MainScroll:CalculateInternalSize();
0364
Controls.GoldScroll:CalculateInternalSize();


EndGameReplay.lua

UI/InGame/Popups/EndGameReplay.lua
0036
Controls.ReplayMessageScrollPanel:CalculateInternalSize();


EspionageOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/EspionageOverview.lua
0781
Controls.AgentScrollPanel:CalculateInternalSize();
1077
Controls.MyCityScrollPanel:CalculateInternalSize();
1375
Controls.TheirCityScrollPanel:CalculateInternalSize();
1500
Controls.IntrigueMessageScrollPanel:CalculateInternalSize();


HappinessInfo.lua

UI/InGame/Popups/HappinessInfo.lua
0027
Controls.HappinessScroll:CalculateInternalSize();
0091
Controls.UnhappinessScroll:CalculateInternalSize();
0108
Controls.ResourcesScroll:CalculateInternalSize();


InstalledPanel.lua

UI/FrontEnd/Modding/InstalledPanel.lua
0751
Controls.DescriptionScrollPanel:CalculateInternalSize();


LoadMenu.lua

UI/FrontEnd/LoadMenu.lua
0159
Controls.ReferencedPackagesScrollPanel:CalculateInternalSize();


MPList.lua

UI/InGame/WorldView/MPList.lua
0196
Controls.MPListScroll:CalculateInternalSize();


NotificationLogPopup.lua

UI/InGame/Popups/NotificationLogPopup.lua
0037
Controls.NotificationScrollPanel:CalculateInternalSize();


NotificationPanel.lua

UI/InGame/WorldView/NotificationPanel.lua
0369
Controls.SmallScrollPanel:CalculateInternalSize();


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0403
Controls.YourReligiousBeliefsScrollPanel:CalculateInternalSize();
0546
Controls.WorldReligionsScrollPanel:CalculateInternalSize();
0635
Controls.BeliefsScrollPanel:CalculateInternalSize();


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
0751
Controls.GraphLegendScrollPanel:CalculateInternalSize();


TechTree.lua

UI/InGame/TechTree/TechTree.lua
0345
Controls.TechTreeScrollPanel:CalculateInternalSize();


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
0764
Controls.UsPocketPanel:CalculateInternalSize();
0768
Controls.ThemPocketPanel:CalculateInternalSize();
1588
Controls.UsTablePanel:CalculateInternalSize();
1590
Controls.ThemTablePanel:CalculateInternalSize();
2496
m_panel:CalculateInternalSize();


VictoryProgress.lua

UI/InGame/Popups/VictoryProgress.lua
0543
Controls.ScoreScrollPanel:CalculateInternalSize();
0744
Controls.DiploScrollPanel:CalculateInternalSize();
0806
Controls.CultureScrollPanel:CalculateInternalSize();


VoteResultsPopup.lua

UI/InGame/Popups/VoteResultsPopup.lua
0251
Controls.PlayerListScrollPanel:CalculateInternalSize();



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.