Commit graph

53 commits

Author SHA1 Message Date
Carlos Garnacho
a209fed611 wacom: Allow decoupling screen tablets from their respective output
This is useful for 2 cases:
- Tablet-input-driven setups where it makes sense to be able to quickly
  reach other monitors with the tablet.
- (Hopefully a minority) Cases where our display mapping heuristics go
  wrong and tablet gets assigned to a wrong monitor.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/239
2019-09-10 10:47:17 +12:00
Carlos Garnacho
67c8ef42d7 wacom: Align buttons/links to the left side
Looks more natural this way. All buttons and links have been moved
into the main grid so this is possible. The links additionally had
to be removed all the padding so they actually align visually.

Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/238
2019-01-07 21:24:15 +00:00
Sam Hewitt
e66ee02953 wacom: use dim-label class on icons instead of opacity for consistency 2018-07-10 17:53:56 -04:00
Sam Hewitt
24174173be common: update pixel_size values to base 16 for icon clarity 2018-07-10 17:52:08 -04:00
Carlos Garnacho
b770d37457 wacom: Refurbish UI files
Some improvements to fit better with the new design:
- "no configured ..." page for both stylus/tablet sections
- the navigation buttons are now children of GtkRevealers, so
  size doesn't popup
- Empty placeholder in several containers have been removed.
2016-11-04 23:27:12 +01:00
David King
64014362eb wacom: Fix final use-stock deprecated property
https://bugzilla.gnome.org/show_bug.cgi?id=736052
2015-01-25 14:05:07 +01:00
David King
86b7af3f0e panels: Mark label strings as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=736052
2014-09-04 16:00:20 +01:00
David King
745c7ef9de panels: Fix all but one uses of use-stock property
Avoid the deprecated use-stock.

https://bugzilla.gnome.org/show_bug.cgi?id=736052
2014-09-04 14:14:31 +01:00
Carlos Garnacho
fdef36294a wacom: Set several notebooks' show-border property to FALSE
Since GTK+ commit 05b1ea84b, this hint is used in GtkNotebook to add
a GTK_STYLE_CLASS_FRAME when rendering the notebook frame, so the theme
renders those frame-alike. As it's not what we want for the wacom panel,
set show-border to FALSE on all GtkNotebooks.

https://bugzilla.gnome.org/show_bug.cgi?id=710709
2013-12-02 12:29:30 +01:00
Yosef Or Boczko
ae36409c5f wacom: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:34:39 +02:00
Joaquim Rocha
97648fe80c wacom: Reduce white-space between tablet and styli controls
https://bugzilla.gnome.org/show_bug.cgi?id=698119
2013-07-15 18:41:23 +02:00
Joaquim Rocha
9031c41784 wacom: add a link to the mouse settings panel
Based on previous work by Olivier Fourdan.
2013-04-16 12:33:16 +02:00
Jeremy Bicha
e449901b59 wacom: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:17:15 -05:00
Piotr Drąg
5f124d6008 all: fix up tooltips
Idea from commit d5088b2eb1.
2012-05-18 18:39:31 +02:00
Cosimo Cecchi
fa3c858502 wacom: fix "Map to Monitor..." button alignment
It should use the same align of the button next to it, i.e. 'center', or
it will look bigger.

https://bugzilla.gnome.org/show_bug.cgi?id=672873
2012-04-12 16:38:45 +01:00
Bastien Nocera
88f743cf45 wacom: Reorder the widgets as per mockup
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:35 +00:00
Bastien Nocera
de46b91e48 wacom: Make display-link right aligned
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:35 +00:00
Bastien Nocera
f6d645af82 wacom: Make tablet button box right aligned
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:34 +00:00
Bastien Nocera
338fd409ee wacom: Swap nav button and label for tablet
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:33 +00:00
Bastien Nocera
21ab18a70f wacom: Change label for display mapping button 2012-02-20 16:50:28 +01:00
Cosimo Cecchi
4ba77224bd wacom: redo spacings in the tablet UI page
Use column and row spacing on the containing GtkGrid instead of setting
margins on each widget.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:47 +01:00
Cosimo Cecchi
41e55372a9 wacom: split the main page controls in a separate GtkGrid
The effect we want to achieve is to have the model name and button box
padded 16px to the left of the tablet controls below.
Pack all the tablet controls in a separate GtkGrid, so we can just set a
margin on that and offset its contents from the model above.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:44 +01:00
Bastien Nocera
2bb25a7cd9 wacom: Add "Display Mapping" button
Non-operational
2012-02-16 17:36:33 +01:00
Bastien Nocera
16b872c8dd wacom: Add stub button mapping dialogue 2012-02-14 15:51:54 +00:00
Bastien Nocera
81ad779084 wacom: Fix tablet layout problems for "screen" type 2012-01-30 17:02:26 +00:00
Bastien Nocera
fd54ab6e5d wacom: Expand the button box horizontally 2012-01-30 17:02:26 +00:00
Bastien Nocera
9cb225c466 wacom: Only 3 columns for the tablet section 2012-01-30 17:02:25 +00:00
Bastien Nocera
decc5cf668 wacom: Make .ui files load the images properly
So it's easier to see what it looks like in glade.
2012-01-30 17:02:25 +00:00
Bastien Nocera
eb82ee2205 wacom: Make images have a width of 1
So they're the same width as the navigation buttons
2012-01-30 16:11:10 +00:00
Bastien Nocera
304c10d901 wacom: Add link to Display settings 2012-01-26 19:10:10 +00:00
Bastien Nocera
61314e26f7 wacom: Add "Map Buttons..." button 2012-01-26 19:10:10 +00:00
Cosimo Cecchi
71f5b96667 wacom: fix again packing for the main panel grid
Last fix was wrong; make packing equal to the stylus GtkGrid, which gets
this right.
2012-01-23 12:30:52 -05:00
Cosimo Cecchi
c6ccecf526 wacom: set a right margin to the tablet/stylus GtkImage
We want some more padding between the image and the descriptions.
2012-01-23 12:30:22 -05:00
Cosimo Cecchi
a21e302f3c wacom: add back margin-top/bottom for title/stylus labels
Since we don't know whether the navigation button will be shown or not,
set a margin on these labels as well.
2012-01-23 12:29:30 -05:00
Cosimo Cecchi
257c5c0a14 wacom: remove useless xpad 2012-01-23 12:02:19 -05:00
Cosimo Cecchi
e524bc2ad5 wacom: fix packing for widgets in the panel main grid
Main grid has 3 columns, not four. Also, make sure to expand the main
combobox.
2012-01-23 12:02:19 -05:00
Cosimo Cecchi
5dec19e907 wacom: set margin directly on the navigation button label
Instead of setting it in the main label for each UI file. This ensures
the navigation button is automatically made bigger inside the grid.
2012-01-23 12:02:19 -05:00
Bastien Nocera
b732da14d8 wacom: Split off the stylus page creation
Show configuration for multiple styli in the configuration UI.
2012-01-16 17:30:33 +00:00
Bastien Nocera
e722c5066d wacom: Fix white space for some tablets 2012-01-13 17:48:09 +00:00
Bastien Nocera
5b277e7728 wacom: Avoid resizing when changing tablet
Or stylus. Otherwise the width of the panel is dependent on the
width of the tablet model label.
2012-01-10 11:07:16 +00:00
Cosimo Cecchi
b39356f69c wacom: add some spacing between the panel sections
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
87297edb39 wacom: fix packing for the left handed switch section
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
62e670963e wacom: make sure description labels are right-aligned and dim
As in the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Bastien Nocera
ce8186dba1 wacom: Add navigation button to navigate between styli
Looks a bit rough, but functionality is present.
2011-11-28 18:24:15 +00:00
Bastien Nocera
46bfcd1bc3 wacom: Split out the tablet page
So we can reuse it for separate tablet configurations.
2011-11-24 19:15:13 +00:00
Bastien Nocera
4ef431c34f wacom: Show "stand-by" page when Wacom not available
https://bugzilla.gnome.org/show_bug.cgi?id=657424
2011-09-20 09:53:32 +01:00
Bastien Nocera
cf49cbc990 wacom: Make string as translatable 2011-09-02 16:59:08 +01:00
Peter Hutterer
a4c96614bf wacom: add a left-handed switch
Add a switch for left-handed orientation (read: no/180 degree
rotation). g-s-d and  the driver allow for 4 orientations, so this only
activates the switch as "on" if the rotation is "half".

https://bugzilla.gnome.org/show_bug.cgi?id=657810
2011-09-02 16:47:02 +01:00
Peter Hutterer
98550289a3 wacom: dim the labels (grey, not black)
https://bugzilla.gnome.org/show_bug.cgi?id=657812
2011-09-01 10:29:14 +01:00
Bastien Nocera
44dddf7579 wacom: Hide the calibrate button
As it doesn't do anything yet.
2011-08-26 11:35:27 +01:00