Re: Fremantle: HildonCheckButton with two labels

2009-09-22 Thread Cornelius Hald
Aniello, thanks for the input. I'll give it a try, but I like to use the second label as description label, as it has a smaller font. Not sure how it will look when I put that much text on a normal check button. But I'll try :) Conny On Mon, 2009-09-21 at 12:02 +0100, Aniello Del Sorbo wrote:

RE: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Cornelius Hald
On Sun, 2009-09-20 at 21:39 +0200, ext-mox.so...@nokia.com wrote: To me it seems you are trying to cram a bit too much functionality into a single dialog. It's of course feasible, as you show, but it's a bit too Maemo 4 to my taste. Just for completeness, here is a screenshot of the

RE: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread ext-mox.soini
-Original Message- From: ext Cornelius Hald [mailto:h...@icandy.de] But of course I could recreate the same layout as I have now, but instead of buttons using a TreeView. [...] I might give it a try, though. How is the cell renderer called that is used for the two-row text? Talk to

RE: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Cornelius Hald
On Mon, 2009-09-21 at 10:35 +0200, ext-mox.so...@nokia.com wrote: -Original Message- From: ext Cornelius Hald [mailto:h...@icandy.de] There are two things that I don't really like about this: 1) Putting the settings and about buttons on level deeper will add one more level of

Re: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Alberto Garcia
On Sat, Sep 19, 2009 at 12:00:50PM +0200, Cornelius Hald wrote: In my HildonButton subclass. Instead of setting the GtkCellView using hildon_button_set_image(), I also tried gtk_button_set_image(). The problem with the latter is, that it's just never shown. Probably HildonButton is somehow

Re: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Alberto Garcia
On Sat, Sep 19, 2009 at 11:55:03AM +0200, Cornelius Hald wrote: I'm trying to create a Hildon check button with two labels. The problem is that HildonCheckButton only supports one label. Why? As Mox explained, that check button was designed to have only one label. If we supported two we

Re: Fremantle: HildonCheckButton with two labels

2009-09-21 Thread Aniello Del Sorbo
May be you don't like it, but why don't actually use the explanation label as the main checkbox label? What's the point of having the first label Xml backend if you then need to explain it a row below? Either you change the one row text to make it clear what you're clicking or put the explanation

RE: Fremantle: HildonCheckButton with two labels

2009-09-20 Thread ext-mox.soini
: HildonCheckButton with two labels Ah, I forgot another thing I tried: In my HildonButton subclass. Instead of setting the GtkCellView using hildon_button_set_image(), I also tried gtk_button_set_image(). The problem with the latter is, that it's just never shown. Probably HildonButton is somehow overriding

RE: Fremantle: HildonCheckButton with two labels

2009-09-20 Thread Cornelius Hald
Hi, The purpose of the two labels in HildonButton, is to have different semantics for the labels. The first one is title, the second one is value (HildonPickerButton) or description (Hildonbutton) that's fine with me. The first row is Name of Plugin the second is Description of plugin. Now

RE: Fremantle: HildonCheckButton with two labels

2009-09-20 Thread ext-mox.soini
The purpose of the two labels in HildonButton, is to have different semantics for the labels. The first one is title, the second one is value (HildonPickerButton) or description (Hildonbutton) that's fine with me. The first row is Name of Plugin the second is Description of plugin. Now it

Re: Fremantle: HildonCheckButton with two labels

2009-09-19 Thread Cornelius Hald
Ah, I forgot another thing I tried: In my HildonButton subclass. Instead of setting the GtkCellView using hildon_button_set_image(), I also tried gtk_button_set_image(). The problem with the latter is, that it's just never shown. Probably HildonButton is somehow overriding the image part of