Skip to content

Instantly share code, notes, and snippets.

View marcus67's full-sized avatar

marcus67

  • Accso GmbH
  • Germany
  • 07:35 (UTC +02:00)
View GitHub Profile
@marcus67
marcus67 / button_item_condenser.py
Created February 12, 2016 16:18
button_item_condenser.py
# 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):
[
{
"selected" : false,
"frame" : "{{0, 0}, {320, 480}}",
"class" : "View",
"nodes" : [
{
"selected" : false,
"frame" : "{{0, 0}, {320, 480}}",
"class" : "NavigationView",
# coding: utf-8
import ui
view = ui.load_view('top_navigation_new')
view.present(style='sheet')