Fix Layout Control
This commit is contained in:
@@ -32,6 +32,7 @@ feature -- Change
|
|||||||
c: WSF_NAVLIST_ITEM_CONTROL
|
c: WSF_NAVLIST_ITEM_CONTROL
|
||||||
do
|
do
|
||||||
create c.make (control_name + "_item_" + controls.count.out, link, text)
|
create c.make (control_name + "_item_" + controls.count.out, link, text)
|
||||||
|
add_control(c)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ feature -- Add control
|
|||||||
create div.make (control_name + "_item_" + controls.count.out)
|
create div.make (control_name + "_item_" + controls.count.out)
|
||||||
div.add_class ("col-md-" + span.out + " col-md-offset-" + offset.out)
|
div.add_class ("col-md-" + span.out + " col-md-offset-" + offset.out)
|
||||||
div.add_control (c)
|
div.add_control (c)
|
||||||
|
add_control_raw (div)
|
||||||
end
|
end
|
||||||
|
|
||||||
add_control (c: WSF_STATELESS_CONTROL; span: INTEGER)
|
add_control (c: WSF_STATELESS_CONTROL; span: INTEGER)
|
||||||
@@ -44,6 +45,7 @@ feature -- Add control
|
|||||||
create div.make (control_name + "_item_" + controls.count.out)
|
create div.make (control_name + "_item_" + controls.count.out)
|
||||||
div.add_class ("col-md-" + span.out)
|
div.add_class ("col-md-" + span.out)
|
||||||
div.add_control (c)
|
div.add_control (c)
|
||||||
|
add_control_raw (div)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user