-
Notifications
You must be signed in to change notification settings - Fork 4
UI redesign, EZUI, HIG, etc. #8
Copy link
Copy link
Open
Description
import ezui
class CornerTools(ezui.WindowController):
def build(self):
content = """
* TwoColumnForm @mainForm
> : Treatment:
> (X) Break @treatmentRadios
> ( ) Build
> ( ) Pit
> : Radius:
> ---X--- [__] @radiusSlider
> : Roundness:
> ---X--- [__] @roundnessSlider
---
"""
footer = """
No corners selected. @statusLabel
(Apply) @applyButton
"""
descriptionData = dict(
mainForm=dict(
titleColumnWidth=72,
itemColumnWidth=200
),
statusLabel=dict(
gravity='leading',
)
)
self.w = ezui.EZWindow(
title='Corner Tools',
content=content,
descriptionData=descriptionData,
footer=footer,
controller=self
)
def started(self):
self.w.open()
CornerTools()Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
