Skip to content

Groupbox rectangle defined, but properties not defined? #93

@jimfoltz

Description

@jimfoltz

Just wondering if this is a bug - in the following code, the Groupbox (g) has a rect, but its properties (top, left, bottom, right, width, height) are not defined?

w=SKUI::Window.new
g=SKUI::Groupbox.new "Group 1"
w.add_control(g)
w.show
# g has a rect...
g.rect.to_hash # => {:left=>0, :top=>0, :right=>55, :bottom=>24, :width=>55, :height=>24}
# but no properties?
g.top # =>nil
g.width # => nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions