[Pharo-project] Issue 3594 in pharo: Expander needs tweaking to enable resize in a TableLayout
Status: Accepted Owner: tudor.gi...@gmail.com Labels: Milestone-1.2 Type-RequestForEnhancement New issue 3594 by tudor.gi...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 The attached change set from Gary makes the following code to work: | container morph1 morph2 morph3 ex1 ex2 ex3 sp1 sp2| morph1 := (PanelMorph new fillStyle: (SolidFillStyle color: Color red)) hResizing: #spaceFill; vResizing: #spaceFill. morph2 := (PanelMorph new fillStyle: (SolidFillStyle color: Color blue)) hResizing: #spaceFill; vResizing: #spaceFill. morph3 := (PanelMorph new fillStyle: (SolidFillStyle color: Color yellow)) hResizing: #spaceFill; vResizing: #spaceFill. ex1 := (UITheme builder newExpander: 'Red' for: morph1) spaceFillWeight: 1; expanded: true. ex2 := (UITheme builder newExpander: 'Blue' for: morph2) spaceFillWeight: 2; expanded: true. ex3 := (UITheme builder newExpander: 'Yellow' for: morph3) spaceFillWeight: 2; expanded: true. sp1 := EdgeGripMorph new target: ex1; edgeName: #bottom; vResizing: #rigid; extent: 24 @ ProportionalSplitterMorph splitterWidth; on: #mouseDown send: #expandedSizingRigid to: ex1. sp2 := EdgeGripMorph new target: ex2; edgeName: #bottom; vResizing: #rigid; extent: 24 @ ProportionalSplitterMorph splitterWidth; on: #mouseDown send: #expandedSizingRigid to: ex2. container := UITheme builder newColumn: { ex1. sp1. ex2. sp2. ex3}. container cellInset: 0. container extent: 400@400. container openInWindow.
Comment #1 on issue 3594 by tudor.gi...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 And now with the attachment Attachments: ExpanderTweak.1.cs 757 bytes
Updates: Labels: Milestone-1.3 Comment #2 on issue 3594 by tudor.gi...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 (No comment was entered for this change.)
Updates: Status: Fixed Comment #3 on issue 3594 by marcus.d...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 12332 TODO: 1.3
Updates: Status: Closed Comment #4 on issue 3594 by marcus.d...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 (No comment was entered for this change.)
Comment #5 on issue 3594 by marcus.d...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 13019
Updates: Status: Started Comment #6 on issue 3594 by tudor.gi...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 I attach here a second changeset from Gary that deals with a special case of resizing. It also introduces Announcements for ExpanderMorph. I think we should integrate these as well. Attachments: ExpanderTweak.2.cs 7.0 KB
Comment #7 on issue 3594 by marcus.d...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 in 13020 TODO: 1.2
Updates: Status: Closed Comment #8 on issue 3594 by marcus.d...@gmail.com: Expander needs tweaking to enable resize in a TableLayout http://code.google.com/p/pharo/issues/detail?id=3594 in 12323
participants (1)
-
pharo@googlecode.com