[Cuis-dev] For Test: Layouts + EdgeWeight

Dan Norton dnorton at mindspring.com
Thu May 28 14:38:45 PDT 2020


On Thu, 28 May 2020 17:05:22 -0400
Dan Norton <dnorton at mindspring.com> wrote:

> On Thu, 28 May 2020 07:34:47 -0700
> "ken.dickey--- via Cuis-dev" <cuis-dev at lists.cuis.st> wrote:
> 
> > On 2020-05-28 07:34, Dan Norton via Cuis-dev wrote:  
> > > On Thu, 28 May 2020 06:54:33 -0700
> > > "ken.dickey--- via Cuis-dev" <cuis-dev at lists.cuis.st> wrote:
> > >     
> > >> On 2020-05-27 19:49, Dan Norton via Cuis-dev wrote:
> > >>     
> > >> > Since it will appear in the base as a method category, it
> > >> > should be spelled "deprecated" which makes me wonder if
> > >> > comments can be spell checked?    
> > 
> > Newer 4195-CuisCore-LayoutProposal9-2020May28-07h20m-KenD.002.cs.st
> > at GitHub (or attached).
> >   
> 
> In LayoutMorph class example13, the right LayoutAdjustingMorph will
> adjust in one way only.
> 

In an inspector on a system window, if model is a morph, its value will
not display.

In the following example, morphExtent is over-ridden and changed from
70 at 30 to 19 at 30:

buyerButtons
	"Set bidding buttons for players."
	| col |
	
	col _ OrderedCollection new.
	model players do: [:ea |
		col add: ((BidderButton label: ea identity action:
#offer: state: true model: self) morphExtent: 70 at 30;
			color: ea color;
			setProperty: #'handlesMouseDown:' toValue: true;
			setBalloonText: 'bidder')].
	buyers addAllMorphs: col reversed

> 
> > Thanks again for suggestions!
> > 
> > -KenD  
> 



More information about the Cuis-dev mailing list