|
22 | 22 | import org.destinationsol.Const; |
23 | 23 | import org.destinationsol.GameOptions; |
24 | 24 | import org.destinationsol.SolApplication; |
| 25 | +import org.destinationsol.TextAlignment; |
25 | 26 | import org.destinationsol.common.SolColor; |
26 | 27 | import org.destinationsol.game.SolGame; |
27 | 28 | import org.destinationsol.game.item.ItemContainer; |
@@ -271,12 +272,12 @@ public void drawText(UiDrawer uiDrawer, SolApplication cmp) { |
271 | 272 | } |
272 | 273 | } |
273 | 274 |
|
274 | | - uiDrawer.drawString(myOperations.getHeader(), myListHeaderPos.x, myListHeaderPos.y, FontSize.WINDOW, false, SolColor.W); |
275 | | - uiDrawer.drawString("Selected Item:", myDetailHeaderPos.x, myDetailHeaderPos.y, FontSize.WINDOW, false, SolColor.W); |
| 275 | + uiDrawer.drawString(myOperations.getHeader(), myListHeaderPos.x, myListHeaderPos.y, FontSize.WINDOW, TextAlignment.LEFT, false, SolColor.W); |
| 276 | + uiDrawer.drawString("Selected Item:", myDetailHeaderPos.x, myDetailHeaderPos.y, FontSize.WINDOW, TextAlignment.LEFT, false, SolColor.W); |
276 | 277 | if (mySelected != null && !mySelected.isEmpty()) { |
277 | 278 | SolItem selItem = mySelected.get(0); |
278 | 279 | String desc = selItem.getDisplayName() + "\n" + selItem.getDesc(); |
279 | | - uiDrawer.drawString(desc, myDetailArea.x + .015f, myDetailArea.y + .015f, FontSize.WINDOW, false, SolColor.W); |
| 280 | + uiDrawer.drawString(desc, myDetailArea.x + .015f, myDetailArea.y + .015f, FontSize.WINDOW, TextAlignment.LEFT, false, SolColor.W); |
280 | 281 | } |
281 | 282 | } |
282 | 283 |
|
|
0 commit comments