Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility of display a pixbuf in the palette. #25

Closed
wants to merge 1 commit into from

Conversation

godiard
Copy link
Contributor

@godiard godiard commented Jul 25, 2013

This is needed to implement preview of images ([1] and [2]) in clipboard buttons.

[1] http://wiki.sugarlabs.org/go/Design_Team/Specifications/Clipboard#Previews
[2] http://wiki.sugarlabs.org/go/File:Frame-05.jpeg

Signed-off-by: Gonzalo Odiard gonzalo@laptop.org

This is needed to implement preview of images ([1] and [2]) in clipboard buttons.

[1] http://wiki.sugarlabs.org/go/Design_Team/Specifications/Clipboard#Previews
[2] http://wiki.sugarlabs.org/go/File:Frame-05.jpeg

Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
@godiard
Copy link
Contributor Author

godiard commented Jul 25, 2013

This pull request is needed by sugarlabs/sugar#67

@dnarvaez
Copy link
Contributor

A bit confused here. You seem to be putting the image in the primary box, the screenshot you linked seems to put it in the secondary box, "below" the menu. Am I missing something?

@godiard
Copy link
Contributor Author

godiard commented Jul 30, 2013

No. The image is a guide, see the order between the primary and the secondary box is wrong too.
I think have more sense as implemented.

@dnarvaez
Copy link
Contributor

Can you post a screenshot of it as implemented please?

@godiard
Copy link
Contributor Author

godiard commented Jul 30, 2013

Implementation screenshot:
http://dev.laptop.org/~gonzalo/images/clipboard_image_preview.png
As a reference, the image have the same size as the preview in the Journal Detail View.

@dnarvaez
Copy link
Contributor

Feels wrong to me to put it in the header. Though it's really up to design. @manuq what do you think?

@godiard
Copy link
Contributor Author

godiard commented Jul 30, 2013

The text preview is in the header too.

@manuq
Copy link
Contributor

manuq commented Jul 30, 2013

I think the text / title of the clipboard image should be in the palette header. The header will be above or below the content depending on the available space (if the palette unfolds down or up) and also should be separated with a line.

So this looks good:

http://wiki.sugarlabs.org/go/File:Frame-05.jpeg

And this looks wrong:

http://dev.laptop.org/~gonzalo/images/clipboard_image_preview.png

Gonzalo says that he added the text to the palette header. Maybe this is a bug in the palette itself?

@dnarvaez
Copy link
Contributor

dnarvaez commented Aug 1, 2013

Per irc discussion punted to 0.102.

@dnarvaez dnarvaez closed this Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants