Instantly share code, notes, and snippets.
-
Accso GmbH
- Germany
-
07:35
(UTC +02:00)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# This file is part of https://github.com/marcus67/rechtschreibung | |
import ui | |
from objc_util import * | |
DEFAULT_X_SPACING = 8 | |
DEFAULT_HEIGHT = 44 | |
class ButtonItemCondenser (object): |
marcus67
/ top_navigation_new.pyui
Created
January 29, 2016 08:02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"selected" : false, | |
"frame" : "{{0, 0}, {320, 480}}", | |
"class" : "View", | |
"nodes" : [ | |
{ | |
"selected" : false, | |
"frame" : "{{0, 0}, {320, 480}}", | |
"class" : "NavigationView", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import ui | |
view = ui.load_view('top_navigation_new') | |
view.present(style='sheet') |