[squeak-dev] The Trunk: Morphic-mt.873.mcz

karl ramberg karlramberg at gmail.com
Wed Apr 15 17:40:44 UTC 2015


I'm not quite sure what goes wrong with scrolling here.

The horizontal bar does not change in BracketSliderMorph>>initializeSlider
...
          horizontal: self bounds isWide;

Karl

On Tue, Apr 14, 2015 at 7:13 PM, <commits at source.squeak.org> wrote:

> Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-mt.873.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-mt.873
> Author: mt
> Time: 14 April 2015, 7:13:14.346 pm
> UUID: 425d78a8-53e2-c344-a4cd-82ae0d9926aa
> Ancestors: Morphic-mt.872
>
> New color picker morph now uses one-liner for displaying the color
> expression. It also adds a drop-shadow if menuAppearance3d is enabled.
>
> (Note: There seems to be still some v-scrolling bug... hmmmm...)
>
> =============== Diff against Morphic-mt.872 ===============
>
> Item was changed:
>   ----- Method: NewColorPickerMorph>>newColorExpressionMorph (in category
> 'initialize-release') -----
>   newColorExpressionMorph
> +       | inputField builder |
> +       builder := ToolBuilder default.
> +       inputField := (builder build: (builder pluggableInputFieldSpec new
> +               model: self;
> +               getText: #colorExpression;
> +               setText: #colorExpression:)).
> +       inputField
> -       | pluggable |
> -       pluggable := (PluggableTextMorph
> -               on: self
> -               text: #colorExpression
> -               accept: #colorExpression:)
>                  hResizing: #spaceFill ;
>                  vResizing: #rigid ;
> +                height: (Preferences standardDefaultTextFont height *
> 3/2).
> +       ^ inputField!
> -                height: 20 ;
> -                acceptOnCR: true ;
> -                retractableOrNot ;
> -                yourself.
> -       pluggable textMorph autoFit: false.
> -       ^ pluggable!
>
> Item was changed:
>   ----- Method: NewColorPickerMorph>>setup (in category
> 'initialize-release') -----
>   setup
>         self
>                  color: (Color white slightlyDarker alpha: 0.88) ;
>                  cornerStyle: #rounded ;
>                  changeTableLayout ;
>                  hResizing: #rigid ;
>                  vResizing: #rigid ;
>                  extent: 240 at 240 ;
>                  addMorphBack: hsvaMorph ;
>                  addMorphBack: self newColorExpressionMorph ;
>                  addMorphBack: self newBottomRow ;
>                  layoutInset: 4 ;
> +                cellInset: 2.
> +
> +       Preferences menuAppearance3d
> +               ifTrue: [self addDropShadow].!
> -                cellInset: 0!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150415/62e3577b/attachment.htm


More information about the Squeak-dev mailing list