![]() |
Re: Harmattan UI framework development is opened
Quote:
we are considering a workaround in duitheme, however, i seriously doubt it will ever be possible to switch fremantle's ui to one in duitheme - though I will check to make sure. Max. |
Re: Harmattan UI framework development is opened
Quote:
However, if you doubt that it will ever be possible, why did you release it for Fremantle in the first place, then? :confused: |
Re: Harmattan UI framework development is opened
Because now developers can already start to toy around with it, give feedback, adapt their own code, etc...
|
Re: Harmattan UI framework development is opened
Quote:
|
Re: Harmattan UI framework development is opened
Quote:
It was mentioned that there might be some theme that looks at least similar... |
Re: Harmattan UI framework development is opened
First, thank you very much for providing new versions of the Widget Gallery so often. It is really great to see the progress!
Now, I'm pretty sure that this is not the final Harmattan look and fell - there surely will be plenty of changes. Still, I'm wondering if we can assume the basic layouts etc. to be the same in Harmattan? E.g. the toolbar currently holds up to 4 actions. The application menu looks like it can hold a maximum of 8 actions. And so on... Are those things, we can assume to be valid for the Harmattan release? Another thing: What is the differentiation between a "check box" and a "switch"? Aren't they both doing exactly the same thing? When should I use a check box and when a switch? Or will one of them get dropped eventually? Again, thanks for developing this in the open. Really exciting stuff :) |
Re: Harmattan UI framework development is opened
I came about some more questions. I just had a short look into the code, so please excuse me, if I misunderstood something.
It seem that there are no sub classes for check buttons, switch buttons and check boxes. Instead this is all DuiButton. Creating a normal button is as easy as: Code:
DuiButton* pushButton = new DuiButton("Push Button"); Code:
DuiButton* checkbox = new DuiButton(); Then to set a label for a check box, it looks like I have to do something like this: Code:
checkboxLabel = new DuiLabel(); Code:
checkbox = new DuiButton("Text"); Code:
checkbox = new DuiCheckBox("Text"); Anyways, I would be happy to get some enlightenment :) |
Re: Harmattan UI framework development is opened
Sometimes you need togglable button, sometimes checkbox and sometimes switch. They all have the same semantics but different look. Thats why there is setViewType(...). So setCheckable can't decide which view you want. I think by default you get togglable button.
Regarding text..I will check with people who made it. But most likely there is no way to fix it. You may want to have text on the left, right, top or bottom, with spacer in between or not and so on. It's too complex to solve for general case. |
Re: Harmattan UI framework development is opened
Quote:
Quote:
Of course, if you want to be super flexible on where/how the label should be placed a simple constructor with a string is not enough. On the other hand I think that in 95% of the cases people want to have a checkbox and a label on its right side. And the label should be clickable to change the check state of the button. So how about doing a CheckButton that would be a composite of CheckBox and Label. CheckBox can then be used in cases where a CheckButton is not enough. |
Re: Harmattan UI framework development is opened
Anybody got video about widget gallery or know of any video?
I installed widget gallery back then, but i got the endless reboot problem and searching currently a video to show. |
All times are GMT. The time now is 16:16. |
vBulletin® Version 3.8.8