Hi all, two questions about Spec. 1) How can i change the font for a ListModel or TextModel? 2) I try , but nothing happend . I does not work but there is no error also l := ListModel new. l backgroundColorBlock: [ Color red ]. l openWithSpec . Can I change de backcolor of ListModel ? Sorry for my english. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL |
Hi all, two questions about Spec. 1) How can i change the font for a ListModel or TextModel? 2) I try , but nothing happend . I does not work but there is no error also l := ListModel new. l backgroundColorBlock: [ Color red ]. l openWithSpec . Can I change de backcolor of ListModel ? Sorry for my english. TIA Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL |
2014-06-26 23:13 GMT+02:00 Pablo R. Digonzelli <[hidden email]>:
About the font: I don't know if this is possible.
For the background color: This works only for the background of the list cells. If there is no entry in your listmodel list, the list view is empty as well and there is nothing to show. This works: ListModel new items: (1 to: 10); backgroundColorBlock: [ :item :index |Color red ]; openWithSpec. or with more colors :)
ListModel new items: Color registeredColorNames ; backgroundColorBlock: [ :item :index | Color named:item]; openWithSpec. |
Hi guys
I do not have the answer but I know that I want to slowly make sure that all the widgets manages better the fonts and not blindly refer to StandardsFont. Setf
|
Sorry, a small remark, as you mentioned fonts.
We could use the icon magic that for example github is using: http://octicons.github.com Uko
On 27 Jun 2014, at 09:29, stepharo <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |