Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Julian Descottes 44b0ec5883 Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B

--HG--
extra : rebase_source : 55e6cb0f8f2ecbe1ae27ef9490925edfab7d62ce
extra : source : 4d5b0cdb72fe52f843c61a5df8f6b8ed35758be8
2016-04-15 12:36:17 +02:00
Carsten "Tomcat" Book 06ed529e31 Backed out changeset 4d5b0cdb72fe (bug 1258114) for m-oth test failures 2016-04-18 10:24:06 +02:00
Julian Descottes 93cda884fb Bug 1258114 - use invisible borders to drag devtools splitters on both sides;r=bgrins
Devtools splitters now have a clickable area on both sides of the splitter.
The previous layout provided a 3px clickable area (2px empty content + 1px
visible border).

The new layout uses invisible borders on both sides and a visible (clipped)
content. New draggable areas:
- side splitters : 1px left + 1px splitter + 4px right
- horizontal splitters : 2 px top + 1px splitter + 2px bottom

Variables are defined in splitters.css to adjust these settings.
Modified two test helpers opening context menus: the click should be
performed with a slight offset in order to avoid clicking on the splitter.

MozReview-Commit-ID: 94uFZoIBL7B

--HG--
extra : rebase_source : 8683e8700c83feae6bddc869cacda03b156a9f91
extra : amend_source : 10cdeed511c02a907e99b74295fe25a3ad623030
2016-04-15 12:36:17 +02:00
Nick Fitzgerald 4711239ff7 Bug 1249147 - Add a resizable split pane component to devtools/client/shared/components; r=jsantell,linclark
This commit adds HSplitBox which gives two panes aligned horizontally and a
splitter between them to resize their relative widths as needed.
2016-02-23 15:38:29 -08:00