diff options
author | Tim Angus <tim@ngus.net> | 2009-10-30 20:37:22 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:15 +0000 |
commit | 8b14cc907dc8253174bf27a67ba1ee5b6b4e5fe5 (patch) | |
tree | 20838ff46a4577c13f5cf7a1f24e5485541f5c0f /assets | |
parent | 2187e92fe67762a4739ac5fc020aae24e90e45dc (diff) |
* Tidy up news menu
Diffstat (limited to 'assets')
-rw-r--r-- | assets/ui/news.menu | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/assets/ui/news.menu b/assets/ui/news.menu index cfd90acc..99d8d68f 100644 --- a/assets/ui/news.menu +++ b/assets/ui/news.menu @@ -7,11 +7,9 @@ #define H 400 #define BUTT_W 45 #define BUTT_H 35 +#define TITLE_H 35 #define BORDER 10 #define LIST_W (W-(2*BORDER)) -#define LIST_DW (LIST_W-40) -#define LEFT_C 0.13 -#define RIGHT_C 0.61 menuDef { @@ -48,11 +46,11 @@ { name title type ITEM_TYPE_TEXT - text "Tremulous News:" + text "Tremulous News" style WINDOW_STYLE_EMPTY textscale .5 textstyle ITEM_TEXTSTYLE_NORMAL - rect BORDER BORDER LIST_W (BORDER+BUTT_H) + rect BORDER BORDER LIST_W TITLE_H textalign ALIGN_CENTER textvalign VALIGN_CENTER decoration @@ -63,7 +61,7 @@ itemDef { name newslistbox - rect BORDER (BORDER+BUTT_H) LIST_W (H-((2*BUTT_H)+BORDER)) + rect BORDER ((2*BORDER)+TITLE_H) LIST_W (H-((TITLE_H+BUTT_H)+(2*BORDER))) type ITEM_TYPE_LISTBOX style WINDOW_STYLE_EMPTY elementwidth 120 |