I have solved this for now with a workaround by assigning a css class to
the checkbox container that simply looks like
.checkboxListCheckboxColumn {
width: 48px;
}
Thanks again for your help and quick responses (and fix)!
Regards
Ingo
On 02/01/2013 07:27 PM, Ingo Bürk wrote:
> Hi Christoph
Hi Christopher,
wow, that was fast. Thank you so much. I will look into this and give it
a try as soon as I can!
Regards
Ingo
On 02/01/2013 07:22 PM, Christopher Zündorf wrote:
> The checkbox problem was solved with:
> af5abf92837255b6b60d30832a63d2a07cd7ae42
>
> Here are some snippets I use for
The checkbox problem was solved with:
af5abf92837255b6b60d30832a63d2a07cd7ae42
Here are some snippets I use for using the checkbox inside a List:
The model of the list is a qx.data.Array which contains several data beans
"newGameModelObject" which has a property "checked".
If you change the "
Oh... I just found out by accident that there is no instance for every
item, all list items share the same renderer instance. Oh man, what a
misunderstanding! I guess in that case I don't have a choice but to
traverse the list for the -th checkbox.
On 01/31/2013 08:38 PM, Christopher Zündorf wrote
Oh, I see -- you're adding the button when creating the list. A little
more thinking about that answered one of my two querstions. As for the
other one:
Currently (if the checkbox was working), I need to click the checkbox
itself to change its state. I'd like to be able to simply click the list
it
You can manage that by modifying your "configureItem" method.
Here is the renderer I wrote and how to use it:
this.list = new qx.ui.mobile.list.List({
configureItem : function(item, data, row)
{
item.setTitle("title");
item.setSubtitle("subtitle");
Hi Christopher,
using the css class sure is possible. However, while I'm able to control
the HTML element of selected items, it won't allow me to actually
control the list item (in this case the CheckBoxListItem instance), but
I was wondering if there's a way to do that? It just feels "hacky" to
f
As a quick fix, you could use the "selected" state of the menu as a indicator,
which list item is selected.
The css class
"item-selected"
on the list item could help you. You can take a part of the implementation of
qx.ui.mobile.dialog.Menu for this purpose.
Greetz Christopher
Am 31.01.2013
I filed a bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=7187
On 01/31/2013 05:53 PM, Ingo Bürk wrote:
> Thanks Christopher, that'd be really helpful and I'll file the bug later
> tonight. In the meantime I need to look into a workaround. Any ideas? My
> best one would be using two images (check
Thanks Christopher, that'd be really helpful and I'll file the bug later
tonight. In the meantime I need to look into a workaround. Any ideas? My
best one would be using two images (checked and unchecked box).
In any case, could you provide the code for the button list you were
talking about? I'm h
Ok,
could you please file a bug for this?
I will try to fix that as soon as possible.
Greetz Christopher
Am 31.01.2013 um 10:28 schrieb Ingo Bürk:
Hi Christopher,
I'm aware that the native box is intended to be hidden. I just pointed out that
it is at least there, but the replacement-box is
Hi Christopher,
I'm aware that the native box is intended to be hidden. I just pointed
out that it is at least there, but the replacement-box isn't. As for the
container: I had already tried that and it didn't change anything. I
should have mentioned that, sorry. Adding buttons, labels etc. instea
Hi again,
I have had a look at your example, and your problem.
First: the native checkbox input is intended to be hidden. In many browser the
checkbox styling can not be changed, and that is why we have an overlay
for this checkbox with CSS pseudo elements.
You problem might be caused by the fa
Thank you, Christopher, I appreciate it. Once the checkbox is there, it'd be
great to bind the tap event for an item to the checkbox state -- I couldn't
figure that out yet either.
Regards
Ingo
--
Everyone hates slow w
Hi,
i will have a look about this topic in next few days.
Thank you for your patience.
Greetz Christopher
Von: Ingo Bürk [[email protected]]
Gesendet: Mittwoch, 30. Januar 2013 20:24
An: qooxdoo Development
Betreff: [qooxdoo-devel] CheckBox-List
Hi
Hi,
I decided to start over on this topic. The goal is to create a list that
has a checkbox on the side of each item (like in Android's settings
menu). I have now extended from list and wrote my own provider and
renderer. The files can be found below. Furthermore, a live example of
my current prog
16 matches
Mail list logo