Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Uses layoutmargin fork, fixes #88
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreMiras committed May 16, 2018
1 parent f83faab commit 2cd2b9f
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 197 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ endif
clean:
rm -rf venv/ .tox/

test: virtualenv
test:
$(TOX)

uitest: virtualenv
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ rlp==0.6.0
# compatible with libcrypto.so.1.1
# https://github.com/golemfactory/golem-messages/pull/112/files
https://github.com/mfranciszkiewicz/pyelliptic/archive/1.5.10.tar.gz#egg=pyelliptic
https://github.com/AndreMiras/garden.layoutmargin/archive/20180517.zip#egg=layoutmargin
1 change: 1 addition & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Show account balance, refs #8
- Configurable gas price, refs #23
- UI improvements, refs #34, #88
- File split & refactoring, refs #43
- Lazy screen loading, refs #47, #75
- Updated contract deployment doc, refs #52
Expand Down
3 changes: 0 additions & 3 deletions src/etheroll/layout_mixins/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions src/etheroll/layout_mixins/__init__.py

This file was deleted.

31 changes: 0 additions & 31 deletions src/etheroll/layout_mixins/_add_background.py

This file was deleted.

154 changes: 0 additions & 154 deletions src/etheroll/layout_mixins/_margin_layout.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/etheroll/roll.kv
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
on_release: app.root.open_address_options()
BoxLayoutAddMargin:
orientation: "vertical"
margin: (30, 10, 30, 10)
margin: 30, 10, 30, 10
MDLabel:
text: "Balance: {} ETH".format(root.balance_property)
text: "Balance: {0:.{1}f} ETH".format(root.balance_property, ROUND_DIGITS)
Expand Down
4 changes: 2 additions & 2 deletions src/etheroll/roll.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from kivy.properties import NumericProperty, StringProperty
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.screenmanager import Screen
from layoutmargin import AddMargin, MarginLayout

import constants
from etheroll.layout_mixins import Add_Margin, MarginLayout
from etheroll.utils import load_kv_from_py, run_in_thread

load_kv_from_py(__file__)
Expand Down Expand Up @@ -103,7 +103,7 @@ class BoxLayoutMarginLayout(MarginLayout, BoxLayout):
pass


class BoxLayoutAddMargin(Add_Margin, BoxLayout):
class BoxLayoutAddMargin(AddMargin, BoxLayout):
pass


Expand Down

0 comments on commit 2cd2b9f

Please sign in to comment.