Closed egolus closed 9 years ago
Thanks @egolus,
the placement of the button seems a bit awkward (problem related somehow to #49). This could be a good place to try a toolbar implementation, no? Do you want to take a go at it?
OK, I'll put a toolbar in Preview
, so under the tabbar. If we like it, we can do the same for Editing
Repository health increased by 0.06% when pulling 36afaf2 on 34-refreshButton into d499f74 on devel.
Repository health increased by 0.06% when pulling be504d4 on 34-refreshButton into d499f74 on devel.
Repository health increased by 0.09% when pulling aa3cec6 on 34-refreshButton into d499f74 on devel.
Repository health increased by 0.07% when pulling cba8052 on 34-refreshButton into d499f74 on devel.
Travis failing to merge seems no problem - it seems git got confused over a trivial thing.
However - the implementation does not seem to work for me (Win 8.1). The toolbar is fixed to the three options Up
, New N
, New F
, and whatever I switch tab to, stay there. I get repeatedly this error:
Traceback (most recent call last):
File "noteorganiser/NoteOrganiser.py", line 271, in showActiveToolBar
self.library.toolbar.setVisible(False)
AttributeError: 'Library' object has no attribute 'toolbar'
Surprisingly enough, the tests pass.
Aah, you're right, I forgot to change this to library.shelves.toolbar
The tests don't need the toolbar to be visible to 'click' on it, it seems
Repository health increased by 0.07% when pulling 0d890c0 on 34-refreshButton into d499f74 on devel.
This should fix the toolbar
It's looking good!
I will test tonight on linux to see how it looks there, then will merge it. Thank you!
Repository health decreased by 0.01% when pulling 000a557 on 34-refreshButton into d499f74 on devel.
I think that the separator behaves strangely on my machine. There is a physical separation between the save
and the one on the left, but no visual indication of it. Is there anything on your side? Do you find it visually clear enough?
there's a thin line, but I have to admit, it's very thin
we could use 3 separators to make it a bit stronger..
the other question is if it is strong enough when we use icons instead of text
Well, one or three, either is invisible on my linux setup. On win8.1, no problem. I will try to see if it is a known bug.
In terms of layout, I would put the Save and Reload to the left, rather than to the right.
I was also thinking that a more ribbon like appearance could work better, no? Having maybe a tab for each panel (Library, Editing, Preview), and the related options in these tabs?
Repository health increased by 0.18% when pulling 684b84c on 34-refreshButton into d499f74 on devel.
Since the functionnality is added, and working, I could merge this, right?
This adds a refresh button to the Preview page (right side, over the scroll area)