Commit Graph

58 Commits

Author SHA1 Message Date
Benjamin Pasero
3cefffccfc Get rid of IEventService in favour of real events (#17515) 2016-12-19 09:37:10 +01:00
Benjamin Pasero
690a811892 Viewlet overflow handling (#16233) 2016-11-30 09:34:11 +01:00
isidor
2f06e39fdb partService: only expose isVisible(part) for checking if a part is visible 2016-11-16 15:11:53 +01:00
isidor
18084df9f3 fixes #15491 2016-11-15 15:29:36 +01:00
Benjamin Pasero
6881a5bb4c fix viewletservice properly 2016-11-11 11:27:14 +01:00
Benjamin Pasero
2654eed12b one more for #15293 2016-11-11 10:16:11 +01:00
Benjamin Pasero
d9d5c19890 revert activity bar zoom prevent 2016-11-11 07:17:25 +01:00
Benjamin Pasero
24a7875b04 ux - take activity bar out of zooming 2016-11-10 16:08:05 +01:00
Benjamin Pasero
b994f2eadd simplify layouting 2016-11-10 09:20:48 +01:00
Benjamin Pasero
ed115b0976 Merge remote-tracking branch 'upstream/master' into hide-activity-bar 2016-11-10 08:54:56 +01:00
Benjamin Pasero
222ede8b56 title - first cut of no more css madness 2016-11-08 12:04:00 +01:00
Benjamin Pasero
44901c208c fix issue with title bar and full screen 2016-11-08 08:40:51 +01:00
Sanders Lauture
cc8e7e8664 Merge remote-tracking branch 'Microsoft/master' into hide-activity-bar 2016-11-07 17:38:42 -05:00
Benjamin Pasero
3ec707b8d7 Custom window title (#15082) 2016-11-07 15:17:27 +01:00
Sanders Lauture
74aa49a293 Fixes and cleanup
Fix bug where activity bar would be visible on startup even if it was set
to be hidden
Fix bug where settings would not reflect activity bar visibility
2016-11-03 17:35:06 -04:00
Sanders Lauture
611c442788 First attempt 2016-11-03 13:24:11 -04:00
Benjamin Pasero
fee0c0fde7 make #6810 a little bit better 2016-10-31 15:53:04 +01:00
isidor
d18eb3340d Toggle maximize panel restore the old panel height
fixes #13898
2016-10-26 09:59:55 +02:00
isidor
81399f0a99 fixes #14024 2016-10-24 16:47:06 +02:00
Benjamin Pasero
c038219f8d adopt new event for when editor layout changes 2016-10-24 11:08:10 +02:00
Benjamin Pasero
d2cad9d8cf horizontal: improved editor layout 2016-10-24 07:32:58 +02:00
Benjamin Pasero
6eeb98dc32 cleanup workbench layout method 2016-10-18 19:28:29 +02:00
Benjamin Pasero
81a9436bdb tweak min sizes and thresholds 2016-10-17 18:16:57 +02:00
isidor
2a322c0615 Toggle Maximized Panel
fixes #7314
2016-10-14 12:33:32 +02:00
Johannes Rieken
6681a2a7d6 tsfmt - src 2016-10-08 09:53:13 +02:00
Benjamin Pasero
c39fe899d7 clean up lots of code when running tsconfig with noUnusedLocals 2016-09-26 11:52:12 +02:00
Martin Aeschlimann
334bd1702e Rename theme to colortheme 2016-08-17 19:50:27 +02:00
Benjamin Pasero
e824cb7735 less context serivce use 2016-08-17 15:59:01 +02:00
Benjamin Pasero
26caa26382 move editor events over to group service 2016-06-03 09:55:22 +02:00
Benjamin Pasero
e231f3fa2f real event for editor change in part 2016-06-01 13:01:08 +02:00
Benjamin Pasero
f1add03813 try to get rid of editor input changing event 2016-06-01 11:06:16 +02:00
Benjamin Pasero
d0fbd67860 less editorevent use 2016-06-01 11:00:09 +02:00
Benjamin Pasero
6989497edd more editor events clean up 2016-06-01 10:48:18 +02:00
Benjamin Pasero
b0c79f4431 status bar clean up 2016-05-31 11:00:54 +02:00
tamas.kiss
9a7594e837 Option to hide the status bar implemented
This fixes #6356
2016-05-30 19:40:13 +02:00
Alex Dima
c63203bf80 Adopt IEventEmitter.addListener2 2016-05-21 11:29:45 +02:00
isidor
e807b1caa9 debug: reduce min panel height
fixes #6085
2016-05-04 10:02:33 +02:00
isidor
f2dbc16bd5 panel: move sash 2px lower
fixes #5524
2016-05-02 16:18:08 +02:00
Benjamin Pasero
a085dab9cf a bit more monaco => code 2016-04-28 08:13:07 +02:00
Maxime Quandalle
65bdaf3aec Sash double clicks (#4702)
* Support double click on sashes

We had to implement a slight change in the sash drag "hack", by removing the
full cover transparent overlay (that was preventing clicks events from being
fired) and replacing it by a CSS `cursor` rule on the document.body.

The ideal solution for a clean dragging events implementation would be to use
the `Element.setCapture` API that is unfortunately not available in Chrome.

* Center the split editor frontier by double-clicking on it

* Reset the bottom panel size by double-clicking on it

* Implement sash reset on diff editors

* Fix a bug with DOM measurement

The calculus was plain wrong as showed in https://github.com/winjs/winjs/issues/1621
This was probably unotified since this utility function wasn't used in the code base.

* Implement sidebar sash optimal resizing

Fixes #4660

* Abstract `getLargestChildWidth` into a DOM method

This commit also moves the `getOptimalWidth` method from the `Composite` to the
`Viewlet` component. This partially addresses
https://github.com/Microsoft/vscode/pull/4702#issuecomment-207813241

* Calculate the sidebar optimal width correctly in case no folder is open
2016-04-15 11:30:52 +02:00
Martin Aeschlimann
bb6f634ff5 Add IThemeService.setTheme 2016-04-05 18:02:58 +02:00
Benjamin Pasero
76fd097af4 some workbench linting 2016-02-04 17:59:19 +01:00
isidor
b637655978 panel: fix sash layout issue when sidebar right 2016-01-22 12:46:24 +01:00
Benjamin Pasero
bbb50c8640 panelPart => panel 2016-01-19 17:25:12 +01:00
isidor
e3d5633dbf panel: show horizontal sash even when panel is hidden 2016-01-19 15:58:14 +01:00
isidor
b19445e3d8 panel: fix issue with minimal panel width 2016-01-19 12:33:45 +01:00
isidor
e009b3060a panel: make panel height limit absolute 2016-01-19 12:06:56 +01:00
isidor
7608a3012c panel: fix layout positioning bug when sidebar hidden 2016-01-19 11:41:59 +01:00
isidor
d231a506bb panel: renames based on Ben's feedback 2016-01-15 17:04:52 +01:00
isidor
867f165c07 panel: limit panel height 2016-01-15 15:53:54 +01:00