Add notebook features (Icons, expanding tabs) #340

Open
wants to merge 4 commits into
from

Projects

None yet

1 participant

Member
sevoku commented Jun 5, 2014

This one adds two useful features to the Notebook widget:

  • Icons in Tab headers: makes it possible to add an icon in front of a tab label
  • Expandable Tabs: if enabled, expands the tab lables

TODO: MAC backend support (expanding doesn't really fit on MAC)
TODO: WPF expands the tabs only on initialization and resize. fixed: 30c4627

Member
sevoku commented Jan 23, 2015

I was able to fix the immediate expansion change on Wpf. So everything works except expanding on Mac, which is ok, since the tabs are very wide on Mac by design and expanding them doesn't really fit.

Thats how it looks like (expanded with icons):
xwt demo application_041
xwp wpf expand notebook tabs
xwp mac notebook tabs icons

@sevoku sevoku modified the milestone: v1.0, v0.3 Jan 30, 2015
sevoku added some commits Jun 5, 2014
@sevoku sevoku Add icon support to Notebook tabs (only GTK, WPF)
TODO: MAC
5ff2de6
@sevoku sevoku Add Notebook tab headers expandable (only GTK, WPF)
TODO WPF: First view works. tabs expand only on resize,
          if property is changed after the view has been shown for the first time
TODO: MAC

Conflicts:
	TestApps/Samples/Samples/NotebookSample.cs
d021523
@sevoku sevoku [MAC] Add missing icon support to NotebookBackend 61d2835
@sevoku sevoku [WPF] fix immediate tab label expanding
Invalidate measure of each TabItem, when the ExpandTabLabels
property changes, forcing Wpf to reeavluate the tab sizes.
f79d2e3
@sevoku sevoku changed the title from Add notebook features to Add notebook features (Icons, expanding tabs) Mar 13, 2015
@sevoku sevoku modified the milestone: v1.0, v0.3 Aug 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment