]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix use of HEIGHT_DIALOGBORDER:
authorterencehill <piuntn@gmail.com>
Fri, 23 Jul 2010 15:51:23 +0000 (17:51 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 23 Jul 2010 22:19:56 +0000 (00:19 +0200)
commit9805d7cf0ce8875950b667e16982fcecd02068ad
tree7bfab8245c17c3b2085b51c7e9f891d8501eeccf
parent3f5af11a8794a82f13d066452580dd8d0cc756bc
Fix use of HEIGHT_DIALOGBORDER:
- its value was ignored (always used the default value 1)
- the menu didn't handle correctly it anyway

Note:
MARGIN_BOTTOM, MARGIN_LEFT and MARGIN_RIGHT must be changed according to HEIGHT_DIALOGBORDER, as the code DON'T handle directly the border size, while MARGIN_TOP is intended as the distance from the title bar and doesn't depend on HEIGHT_DIALOGBORDER.
FONTSIZE_TITLE and HEIGHT_TITLE must NOT be changed according to HEIGHT_DIALOGBORDER because they change the borders too (I don't know why they behave in this way).
qcsrc/menu/item/borderimage.c
qcsrc/menu/item/dialog.c