From: terencehill Date: Sun, 10 May 2015 19:52:07 +0000 (+0200) Subject: Revert previous change of item/tab.qc: title must be empty otherwise the default... X-Git-Tag: xonotic-v0.8.1~54^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aaccbfe4da2f8eb81b717fdc11230f10ef0b3ab3;p=xonotic%2Fxonotic-data.pk3dir.git Revert previous change of item/tab.qc: title must be empty otherwise the default title ("Form1") gets inherited from the dialog superclass --- diff --git a/qcsrc/menu/item/tab.qc b/qcsrc/menu/item/tab.qc index 965679e0b..8cd72ba9c 100644 --- a/qcsrc/menu/item/tab.qc +++ b/qcsrc/menu/item/tab.qc @@ -3,6 +3,8 @@ CLASS(Tab) EXTENDS(Dialog) ATTRIB(Tab, isTabRoot, float, 0) ATTRIB(Tab, closable, float, 0) ATTRIB(Tab, rootDialog, float, 0) + ATTRIB(Tab, title, string, string_null) + ATTRIB(Tab, titleFontSize, float, 0) // pixels // still to be customized ATTRIB(Tab, intendedWidth, float, 0) @@ -16,6 +18,7 @@ CLASS(Tab) EXTENDS(Dialog) ATTRIB(Tab, columnSpacing, float, 0) // pixels ATTRIB(Tab, rowSpacing, float, 0) // pixels ATTRIB(Tab, rowHeight, float, 0) // pixels + ATTRIB(Tab, titleHeight, float, 0) // pixels ATTRIB(Tab, backgroundImage, string, string_null) ENDCLASS(Tab)