Text rendering properly deals with newline characters. Updated components that were not properly rendering.
This commit is contained in:
@@ -109,7 +109,7 @@ void Menu::InitializeCharacterMenuWindow(){
|
||||
for(int i=0;i<8;i++){
|
||||
float x=31+(i%2)*33;
|
||||
float y=24+(i/2)*28;
|
||||
float labelX=2+(i%2)*90;
|
||||
float labelX=0+(i%2)*88;
|
||||
float labelY=24+(i/2)*28+36;
|
||||
if(i<6){
|
||||
y-=8;
|
||||
@@ -234,7 +234,7 @@ void Menu::InitializeCharacterMenuWindow(){
|
||||
equipmentSlot->SetShowQuantity(false);
|
||||
equipmentSlot->SetCompactDescriptions(false);
|
||||
equipSlot<<=1;
|
||||
characterMenuWindow->ADD("Equip Label "+slotNames[i],PopupMenuLabel)({{labelX,labelY},{29,16}},slotNames[i],{0.5,1},ComponentAttr::SHADOW)END;
|
||||
characterMenuWindow->ADD("Equip Label "+slotNames[i],PopupMenuLabel)({{labelX,labelY},{24,16}},slotNames[i],{0.5,1},ComponentAttr::SHADOW)END;
|
||||
Menu::AddEquipStatListener(equipmentSlot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user