On 12-04-16 18:09, Bruce Peaslee wrote:
This code creates the list and fills it, but it does not show a border.

Hi Bruce. Indeed, if you look at MorphicListAdapter>buildWidget you'll
notice that it uses a PluggableListMorph that ignores border styling
and just asks the theme for

UITheme>listNormalBorderStyleFor: aList
    "Return the normal borderStyle for the given list"

    ^BorderStyle inset
        width: 1;
        baseColor: aList paneColor

You could subclass the theme you want to use and override
that method to look up exceptions, and register your list in
the exceptions list.

Not ideal, and should be fixed.

Stephan


Reply via email to