intel / rib

Rapid Interface Builder (RIB) is a browser-based design tool for quickly prototyping and creating the user interface for web applications. Layout your UI by dropping widgets onto a canvas. Run the UI in an interactive "Preview mode". Export the generated HTML and Javascript. It's that simple!
https://01.org/rib
Apache License 2.0
148 stars 74 forks source link

Horizontal button group #248

Closed zhizhangchen closed 12 years ago

zhizhangchen commented 12 years ago

Separate ButtonGroup into VButtonGroup and HButtonGroup and forbid VButtonGroup to be in Footer as it's rendered as faux-horizontal

grgustaf commented 12 years ago

I think it's nicer to let the user toggle between horizontal and vertical. I guess you must have run into some trouble trying to implement it though?

I like having both in the palette, but the Horizontal one's text looks funny so I would just call that "Button Group" and keep the normal font size. (Make it appear before Vertical Button Group.)

Then we could disallow the Vertical Button Group palette item in the footer. But I'd prefer that they both show up as simply "Button Group" in the outline view. Then the only trick is disabling the orientation property when the widget is in the footer, and automatically converting it if they drop a vertical one in from elsewhere in the design.

That may be too hard to get in this week, but I'd rather wait for that solution then take this patch now.

zhizhangchen commented 12 years ago

replaced by #256