Displaying 2 results from an estimated 2 matches for "on_creat".
Did you mean:
o_creat
2008 Mar 13
0
Equivalent to before(:all) for StepGroups?
...n a step
block:
steps_for(:all) do
#TODO: This is a total kludge.
Given /an environment/ do
@om = ObjectManager.new
@environment = @om.resolve_objects("an environment").first
def add_to_environment(object)
@environment << object
object
end
@om.on_create("target") {add_to_environment Creature.new}
@om.on_create("creature") {add_to_environment Creature.new}
@om.on_create("game object") {add_to_environment GameObject.new}
end
Given /(an? (?:creature|game object|target))/i do |subject|
@om.resolve_object...
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the
FXSplitter#create method is called?
My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width
be determined before its children were created?
It''s not really a big deal, but I was configuring the split based on a
preferences file during initialize, and couldn''t make it work properly.
Doing it in