diff options
Diffstat (limited to 'test/smoke-tests')
-rw-r--r-- | test/smoke-tests/action-buttons.js | 29 | ||||
-rw-r--r-- | test/smoke-tests/eosactionbutton.css | 4 |
2 files changed, 31 insertions, 2 deletions
diff --git a/test/smoke-tests/action-buttons.js b/test/smoke-tests/action-buttons.js index cc8534b..7997793 100644 --- a/test/smoke-tests/action-buttons.js +++ b/test/smoke-tests/action-buttons.js @@ -29,8 +29,33 @@ const TestApplication = new Lang.Class ({ this._menu_panel.get_style_context().remove_class('dark'); } })); - this._content.add(new Gtk.Label ({label: 'Dark action menu'}), 0, 0, 1, 1); - this._content.add(this._darkSwitch, 0, 1, 1, 1); + this._content.attach(new Gtk.Label ({label: 'Dark action menu'}), 0, 0, 1, 1); + this._content.attach(this._darkSwitch, 1, 0, 1, 1); + + this._content.attach (new Endless.ActionButton({ + name: 'LEFT', + 'icon-id': 'object-select-symbolic', + label: 'LEFT', + 'label-position': Gtk.PositionType.LEFT + }), 0, 1, 1, 1); + this._content.attach (new Endless.ActionButton({ + name: 'TOP', + 'icon-id': 'object-select-symbolic', + label: 'TOP', + 'label-position': Gtk.PositionType.TOP + }), 1, 1, 1, 1); + this._content.attach (new Endless.ActionButton({ + name: 'BOTTOM', + 'icon-id': 'object-select-symbolic', + label: 'BOTTOM', + 'label-position': Gtk.PositionType.BOTTOM + }), 0, 2, 1, 1); + this._content.attach (new Endless.ActionButton({ + name: 'RIGHT', + 'icon-id': 'object-select-symbolic', + label: 'RIGHT', + 'label-position': Gtk.PositionType.RIGHT + }), 1, 2, 1, 1); this._menu = new Endless.ActionMenu (); diff --git a/test/smoke-tests/eosactionbutton.css b/test/smoke-tests/eosactionbutton.css index 13ddfe4..b01e3cf 100644 --- a/test/smoke-tests/eosactionbutton.css +++ b/test/smoke-tests/eosactionbutton.css @@ -1,5 +1,9 @@ /* ****** ACTION MENU ****** */ +GtkWindow { + background-color: mix(white, black, 0.1); +} + #menu { background-color: mix(white, black, 0.2); border-color: mix(white, black, 0.5); |