| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
For some reason, on the NUC, we can't set opacity for hover state
in CSS. So this commit instead makes it so that we set the opacity
in Gtk. Note that this problem was only reproducible on a NUC so
this commit may eventually need to be reverted.
[endlessm/eos-sdk#540]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The category "go" arrow should never overlap the label text, so this
moves it out of its overlay and puts it in the same layer as the label.
The label now uses baseline alignment, and we can get rid of the hacky
extra padding in the CSS.
Currently, the innards of the category button look like this:
+---------------------------------------+
| Grid, hexpand: TRUE, halign: FILL |
| +------------------+ +--------------+ |
| | Label | | Arrow button | |
| | halign: START | | halign: END | |
| | valign: BASELINE | | valign: END | |
| +------------------+ +--------------+ |
+---------------------------------------+
The arrow button does not have valign BASELINE, because that would
align it so it was even with the first line of the label if the label
was wrapped over two lines:
(GOOD) (BAD)
HISTORY HISTORY >
& POLITICS > & POLITICS
Also, I have removed the "width-chars" property of the label, because,
as in the programming app in a commit which I cannot now find, when the
label wraps, the width-chars property makes it request a very odd size.
[endlessm/eos-sdk#505]
|
|
|
|
|
|
| |
This allows the arrow fade-in and fade-out to be specified in the CSS.
[endlessm/eos-sdk#505]
|
|
|
|
|
|
| |
Replace the old PNG asset with an SVG asset.
[endlessm/eos-sdk#505]
|
|
|
|
|
|
|
|
| |
Another one. This one for gtk 3.10. With the new Gtk version,
overriding get_preferred_width to handle overlong titles
can mess up the height allocation when labels wrap. Specifying
width for height management for the button fixed this
[endlessm/eos-sdk#376]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before this the size request of the title category button is set
based on the toplevels allocation. This broke when EosWindow's size
request was fixed.
Having some sort of container or bind constraint that allocated things
based on percentages is the eventual solution here. For now I used
a column homogeneous grid where each column was a percentage of the
allocation. A little gross, but works fine, and our wiki apps handle
resizing much better than they did before now
[endlessm/eos-sdk#376]
[endlessm/eos-sdk#376]
|
|
|
|
|
|
|
|
| |
No longer set the arrow images opacity, which seemed to be the
root a visual bug. The overlay also means the arrow will always
appear in the right of the category button and not be cut off
even if the label is overlong
[endlessm/eos-sdk#407]
|
|
|
|
|
|
| |
Subclass button, so we don't need our own event boxes and event
handling
[endlessm/eos-sdk#407]
|
|
|
|
|
|
| |
For our category buttons, otherwise the context and all associated
resources are never freed
[endlessm/eos-sdk#403]
|
|
|
|
| |
This reverts commit e7dc5aa70b27f3251ef82ce91d05dea770a0e7ac.
|
|
|
|
|
|
|
| |
This reverts part of commit [ddcbb17]. It is a workaround for a GJS bug
and should itself be reverted later.
[endlessm/eos-sdk#399]
|
|
|
|
|
|
|
|
|
|
| |
- Fonts are changed to be 150px and 48px for ODROID's 1920x1080
resolution
- Word-wrapping widths are set to approximately reproduce the deck
[endlessm/eos-sdk#394]
[endlessm/eos-sdk#394]
|
|
|
|
|
|
|
|
| |
Before we were loading them every time size_allocate was called,
even if the widget was not even realized. Now just check during
draw if the pixbuf needs to be reloaded. Also draw the pixbuf
directly with cairo which cuts down on widget hierarchy.
[endlessm/eos-sdk#349]
|
|
|
|
|
|
|
|
|
| |
Fonts are changed according to the conversion table. It turns out that
what we thought was the "Benton Sans correction" does not only apply to
Benton Sans - I think it is due to GTK's lack of baseline alignment,
something that has been rectified in GTK 3.10.
[endlessm/eos-sdk#361]
|
|
|
|
|
|
|
| |
Turn word-wrapping on in the GtkLabel. Set the arrow button's valign
to be END, and add a Benton Sans correction to the arrow button.
[endlessm/eos-sdk#255]
|
|
|
|
|
|
|
|
| |
If there are articles for an app's main category, then it becomes clickable and acts like any other category.
If there are no articles for a category, it isn't cilckable and has no hover animations.
We no longer use the Title Label View since the main category is now a category button like any other.
[endlessm/eos-sdk#259]
|
|
Moved all widgets into widgets directory. Changed Endless Wikipedia file
to expose wikipedia web view
[endlessm/eos-sdk#260]
|