Is there a demo for menu or toolbar layout with R3-GUI(Rebol R3 GUI)? - rebol

RebGUI can use menu and toolbar layout to complete the complex GUI design. How can r3-gui achieve this goal?

Related

IntelliJ IDEA 2018.3 add "Undo" / "Redo" etc. to the Toolbar

After upgrading to 2018.3, the Undo button disappeared from Toolbar. How can I add them to the toolbar? I do know how to get Customize toolbar window...but I find no way of adding the Undo button to the toolbar.
Yes, you can add Undo/Redo actions to the Toolbar like this:
Note that Toolbar needs to be enabled in the View menu:

dijit toolbar on the left side instead on top

so I didn't find something in the dijit Toolbar API I'll try it here.
Is it possible to place a dijit toolbar to another place than on top?
I'd like to create a Toolbar declarativly on the left side inside a contentpane so the toolbar is from top left, to bottom left.
Is there a way to do it?
Well if you go with declarative approach for widget creation, you can write custom css for each of them .
So getting a custom layout doesnt seem to be a tough task. You can write some div container's with a fix width , break line after each menu item and get the required layout.
check this for example:
https://jsfiddle.net/GfB2B/2/

Switch between panes in Pharo v3

While at the System Browser I can switch between panes and buttons using alt+tab and arrows, but once I'm at the "method editing" pane I can't go out of it using keyboard shortcuts. Is there a way to do so?
This is a well-known issue. KeyMapping is being overhauled. You can add your own for the moment.
Take a look at the class side of AbstractNautilusUI
you can switch the focus to the other panels:
cmd+g+c focus class list
cmd+g+p focus package list
cmd+g+m focus method list
cmd+g+t focus protocol list
cmd+g+s focus source code panel
in the window menu (little arrow icon on the title pane) is a menu entry
for the shortcuts description

XAML Design view stuck in 'snap to grid' view

Silly question, but I somehow switched the XAML/Design view to 'snap to grid' view and can't seem to get it back to the standard design view, even by resetting VS to default settings. What's the hot-key to get my XAML/design view back to the normal view instead of the grids? Visual Studio 2012.
There are a series of three toggle buttons in VS2012, at the bottom of the XAML Designer (also called the 'Artboard'), and to the left of the scrollbar below it. These three toggle buttons will do the following (in order from left to right):
Show/hide gridlines
Enable/disable snapping to gridlines
Enable/disable snapping to snaplines (baselines, alignment margins, and the like)
These are also described a bit further here. They're settable via Tools -> Options as well.

NSToolbar in the NSPreferencePane

I'm trying to implement my app's settings. So I implement Preference Pane but I need to insert Toolbar to it. That is how looks my IB:
And this is how looks my pane from System Preferences:
You see, my window new height = old height - toolbar height. This is my first time I work with toolbar and prefpane, can you answer is there any restriction to use toolbar iside of prefpane?
The System Preferences application already sets a window toolbar so you cannot have a toolbar in your preferences pane.
I recommend using tabs; look at the NSTabView and NSTabViewItem classes.
Note that NSTabView does not actually require tabs to be displayed (though I recommend making tabs visible to the user). You can configure NSTabView to have no tab frame and still take advantage of it for panel-swapping.