Commit f653347d authored by ecrombag's avatar ecrombag

Quick fix for the rendering of tuples. In version 3.1.0 of ExtJS the...

Quick fix for the rendering of tuples. In version 3.1.0 of ExtJS the 'HBox'-layout fails to render elements without any hint regarding their width or height (either through width, height or flex-properties). So for now tuples are rendered vertically.

git-svn-id: https://svn.cs.ru.nl/repos/iTask-system/trunk@717 63da3aa8-80fd-4f01-9db8-e6ea747a3da2
parent 0ae69ec6
......@@ -350,7 +350,7 @@ gVisualize{|(,)|} f1 f2 old new vst=:{vizType,idPrefix,currentPath,useLabels, la
# (v1,v2) = case old of (VValue (o1,o2) omask) = (VValue o1 omask, VValue o2 omask) ; _ = (VBlank,VBlank)
# (viz1,vst) = f1 v1 v1 {VSt| vst & currentPath = shiftDataPath currentPath, useLabels = False, label = Nothing}
# (viz2,vst) = f2 v2 v2 vst
= ([TUIFragment (TUIPanel {TUIPanel |layout = "hbox", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
= ([TUIFragment (TUIPanel {TUIPanel |layout = "", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
items = [
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz1},
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz2}
......@@ -377,7 +377,7 @@ gVisualize{|(,,)|} f1 f2 f3 old new vst=:{vizType,idPrefix,currentPath,useLabels
# (viz1,vst) = f1 v1 v1 {VSt| vst & currentPath = shiftDataPath currentPath, useLabels = False, label = Nothing}
# (viz2,vst) = f2 v2 v2 vst
# (viz3,vst) = f3 v3 v3 vst
= ([TUIFragment (TUIPanel {TUIPanel |layout = "hbox", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
= ([TUIFragment (TUIPanel {TUIPanel |layout = "", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
items = [
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz1},
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz2},
......@@ -409,7 +409,7 @@ gVisualize{|(,,,)|} f1 f2 f3 f4 old new vst=:{vizType,idPrefix,currentPath,useLa
# (viz2,vst) = f2 v2 v2 vst
# (viz3,vst) = f3 v3 v3 vst
# (viz4,vst) = f4 v4 v4 vst
= ([TUIFragment (TUIPanel {TUIPanel |layout = "hbox", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
= ([TUIFragment (TUIPanel {TUIPanel |layout = "", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = label2s optional label,
items = [
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz1},
TUIPanel {TUIPanel| layout = "form", buttons = [], autoHeight = True, border = False, bodyCssClass = "", fieldLabel = Nothing, items = coerceToTUIDefs viz2},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment