Hey Jonh! thanks a lot for your input. I am fan of your themes.
Yes i did custom theme , not an expert yet , here is my theme for the
listitems :
in appearance.js
"custom-listitem": {
style: function(states) {
return {
paddingTop: 4,
paddingLeft: 8,
paddingRight: 8,
paddingBottom:0,
// gap : 4,
decorator: "chatitem"
};
}
},
in decoratoion.js
"chatitem": {
// include: 'window',
style: {
width: 0,
widthBottom: 1,
color: "rgb(217, 217, 217)",
backgroundColor: "transparent",
boxShadowCss: "0 2px 2px 0 rgba(0, 0, 0, 0.14),0 3px 1px -2px
rgba(0, 0, 0, 0.2),0 1px 5px 0 rgba(0, 0, 0, 0.12)"
}
},
I tried adding "gap:4" but it giving this error :
Uncaught TypeError: this[hf[hl]] is not a function
not sure it is a bug.
On Tue, Aug 18, 2015 at 12:22 PM, John Spackman <[email protected]>
wrote:
> Not quite – there are more of us :)
>
> The way I’d approach this is to implement my own appearance – that’s the
> only way to really adjust the styling of any widget, and my experience is
> that trying to manipulate the widget directly typically leads to
> frustration.
>
> You can find some info here:
> http://manual.qooxdoo.org/current/pages/desktop/ui_appearance.html and
> looking at the standard theme appearances should help you see how to extend
> the default theme for ListItem and adjust margins, padding etc
>
> John
>
> From: Phyo Arkar <[email protected]>
> Reply-To: qooxdoo Development <[email protected]>
> Date: Tuesday, 18 August 2015 06:42
> To: qooxdoo Development <[email protected]>
> Subject: Re: [qooxdoo-devel] Set margin between listitems
>
> And you are not talking BS , I really appreciate you helping me. We need
> to keep that for qooxdoo community growing. I think me and you are only
> active right now on this group.
>
> I would really hate to see this awesome framework , die, which is far
> ahead of competation and nobody knows it..
>
> On Tue, Aug 18, 2015 at 11:49 AM, Phyo Arkar <[email protected]>
> wrote:
>
>> > or maybe a grid layout with one column and eg. the even rows act as
>> spacing?
>> Yea i am thinking about it. going to try .
>> I tried spacer but adding them in widget it only spread widger wider (or
>> am i doing it wrong?) the decorator for listItem widgets also contains the
>> spacers.
>>
>> On Tue, Aug 18, 2015 at 4:55 AM, voger <[email protected]> wrote:
>>
>>> Maybe I am talking BS here but have you considered using spacers? A
>>> custom widget that is a container holding the list item and the spacer
>>> aligned vertically together.
>>> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.Spacer
>>> or maybe a grid layout with one column and eg. the even rows act as
>>> spacing?
>>>
>>> I don't know if what I am proposing are proper ways or hacks. I am
>>> learning as I go and just shooting ideas.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>
>>
> ------------------------------------------------------------------------------
> _______________________________________________ qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel