Skip to content

UI redesign, EZUI, HIG, etc. #8

@ryanbugden

Description

@ryanbugden

Here's a sketch:
image

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions