]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert previous change of item/tab.qc: title must be empty otherwise the default...
authorterencehill <piuntn@gmail.com>
Sun, 10 May 2015 19:52:07 +0000 (21:52 +0200)
committerterencehill <piuntn@gmail.com>
Sun, 10 May 2015 19:52:07 +0000 (21:52 +0200)
qcsrc/menu/item/tab.qc

index 965679e0bebee564382ee842343c78942e222e53..8cd72ba9c76a253b73001f2b1a32e3b95d23bf89 100644 (file)
@@ -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)