So I've almost finished my Cape Town Bar, but I have one problem. The window that pops up when I click on the bar is too small (see attached picture). How do I make it bigger so that it fits all the text?
I your case it's probably the best solution to extend the width of storage items in dialog/storage.rsc:
RibbonDescription storageItem
{
ElementDescription _border = "SharedElements.rsc:flatButtonEnabledBorder";
int _minWidth = 104;
..
If you want to change only the ui of your building you can make a copy of the original and link in your template to this file.
or you can add a group empty controler to your UI ... .as 1st controller of your UI Controllers list
{ ElementDescription _element = "groupEmpty"; String _insertAt = "userGroup0"; }
and at the end of you template define the groupEmpty size as :
GroupDescription groupEmpty
{
int _minWidth = 287;
int _minHeight = 64;
}
but i admit it doesnt work with ALL the UI type, but most of them
Ah, thank you! I finally got it to work after fiddling a bit :D