Timm Bäder
af7781ce0f
widget-factory: Remove invisible-char usage for spin buttons
2017-07-19 21:27:11 -04:00
Daniel Boles
322d9ca550
widget-factory: Use :relief=none, not class .flat
...
The rest of the ui file follows that convention.
2017-05-13 21:50:22 +01:00
Timm Bäder
2c174319ea
widget-factory: Fix listbox row alignment
2017-05-01 21:21:40 +02:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
4945e28f08
widget-factory: Add dummy listbox placeholder
...
It doesn't do anything and isn't visible anyway, but it tests that
adding and removing placeholders works
2017-04-25 20:29:02 +02:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
8b3f5ce9a4
widget-factory: Adapt to GtkWidget visibility changes
...
Make the infobar and the toolbar invisible by default and remove all the
lines showing the other widgets.
2017-01-20 21:33:37 +01:00
Timm Bäder
d45e5ef3dc
widget-factory: Use GtkButton:icon-name to construct icon buttons
2016-12-04 12:00:45 +01:00
Matthias Clasen
23354ff6e7
widget-factory: Better progressbar testing
...
Hook the two top progressbars up to the scale with marks.
Your turn, Lapo.
2016-11-14 08:21:31 -05:00
Matthias Clasen
b2284ef48f
Fix widget-factory appearance, a bit
...
Use margins instead of border-width, for now.
2016-10-26 14:42:11 -04:00
Lapo Calamandrei
bec95e55e4
widget-factory: use circular style class on the circular button...
...
...in place of the circular-button one, killing the custom style
shipped, realying on the theme style.
2016-10-19 16:07:02 +02:00
Timm Bäder
8cafd3c5a7
menuitem: Stop implementing GtkActivatable
2016-10-18 00:29:18 +02:00
Timm Bäder
7e16396cc5
button: Stop implementing GtkActivatable
2016-10-18 00:29:18 +02:00
Benjamin Otte
4df6ddad54
API: container: Remove gtk_container_set_border_width()
2016-10-16 18:18:58 +02:00
Timm Bäder
5b00a31c30
widget-factory: Stop using custom icon sizes
2016-10-16 18:17:21 +02:00
Tristan Van Berkom
6be8979c64
Revert "widget factory: Adapt to new scrolled window behavior"
...
This reverts commit 37e913d76b
.
This is no longer needed since the natural size propagation of
scrolled window children is now an optional behavior. Reverting
this also makes the widget factory scrolled window sizes behave
the same as with the gtk+ 3.20 branch.
2016-09-06 20:51:20 +09:00
Matthias Clasen
f7c87fb3b7
widget-factory: Fix smooth autoscrolling of scales
...
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
2016-08-24 12:53:28 -04:00
Timm Bäder
bdb77b6cc2
widget-factory: Don't initially show popover
...
It'll be set as the popover of a GtkMenuButton later anyway which will
hide it again.
2016-08-10 16:37:17 +02:00
Matthias Clasen
37e913d76b
widget factory: Adapt to new scrolled window behavior
...
Set a max-content-width on some of the scrolled windows to
keep things looking mostly the same, now that GtkScrolledWindow
passes along the natural size of its child.
2016-06-19 22:16:11 -04:00
Matthias Clasen
5892bd72fa
widget-factory: Use max-content-size in a popover
...
This gives a nice example of these properties in action,
in the "Open" popover on page 3.
2016-06-06 14:35:46 -04:00
Matthias Clasen
f8bc35b9a6
Fix scale length
...
The vertical scales should really be of the same length, so
add an empty value to be drawn by the other scale.
2016-05-10 15:41:03 -04:00
Timm Bäder
7b81b56f7b
widget-factory: Let one of the scales draw a value
...
https://bugzilla.gnome.org/show_bug.cgi?id=766120
2016-05-10 21:24:50 +02:00
Matthias Clasen
87554eb57a
widget-factory: Make the sliding opt-in
...
The sliding is a little disorienting, so turn it off by default
and add a checkbutton for it in the gear menu.
2016-02-27 23:12:15 -05:00
Matt Watson
a051e5677e
widget-factory: transition pages
...
https://bugzilla.gnome.org/show_bug.cgi?id=762642
2016-02-25 19:49:45 -05:00
Benjamin Otte
d10bd41e43
widget-factory: Add myself
...
Actually, I wanted to have a radio toggle cell renderer for testing. But
hey, the commit message is supposed to say the important things!
2016-02-15 18:17:11 +01:00
Matthias Clasen
29a7373802
widget-factory: Add an inline toolbar example
...
This pattern is still used in applications, so we should have it
represented here to keep it working well.
2016-02-13 17:11:59 -05:00
Matthias Clasen
5f01e6924f
widget-factory: Update levelbar example
...
Set reasonable level offsets.
2016-02-07 15:05:57 +01:00
Matthias Clasen
873a024f5b
widget-factory: Add a color editor example
2016-01-23 22:30:59 -05:00
Matthias Clasen
770e308c9e
widget-factory: Ensure spinbuttons are sized right
...
GtkEntry now respects the padding set by the theme, so we
need to ask the spin buttons to show 2 characters, otherwise
they will be clipped.
2016-01-23 18:16:51 -05:00
Matthias Clasen
b387a966ce
widget-factory: Make the notebook action truly circular
...
The sidebar-button class doesn't work out so well for this
since it has horizontal padding.
2016-01-04 21:32:19 -05:00
Matthias Clasen
63c4b9226c
widget-factory: Add an entry completion
...
This was missing so far.
2015-12-05 14:11:06 -05:00
Matthias Clasen
306b6c6024
widget-factory: Add another notebook example
...
This example shows a scrollable notebook with action widgets.
2015-11-08 21:08:38 -05:00
Matthias Clasen
3306ce6819
widget-factory: Add an automatic help overlay
...
This commit add some more keyboard shortcuts to gtk3-widget-factory,
and adds a help overlay documenting them. This examle uses the
automatic resource loading support in GtkApplication.
2015-10-21 15:33:22 -04:00
Matthias Clasen
b9322433d3
Update all ui files again
...
Replace translatable="1" by translatable="yes" so
xgettext stays happy and extracts the strings.
2015-09-13 23:26:16 -04:00
Matthias Clasen
3a503b7ba1
widget-factory: Simplify the ui file
2015-09-12 11:24:37 -04:00
Matthias Clasen
cf237eccbe
widget-factory: Add a lock button
2015-08-10 22:43:19 -04:00
Matthias Clasen
7d91ca3183
widget-factory: Test busy state
...
Makes it easy to test insensitive state of widgets.i
Also exposes brokenness in the shell busy indicator...
2015-07-30 10:36:34 -04:00
Matthias Clasen
13b4500f52
widget-factory: hook up callbacks to the tab close buttons
...
Just to show that buttons in notebook tabs work.
2015-07-24 12:22:19 -04:00
Matthias Clasen
fa29a01c26
widget-factory: Make the circular button do something
2015-06-14 21:37:58 -04:00
Matthias Clasen
2af2189347
widget-factory: More popover examples
...
Add an example for text input in a popover. This leads to nested
popovers with touch selection, and does not currently work.
2015-06-13 21:10:25 -04:00
Matthias Clasen
94fc9f5211
widget-factory: Add horizontally linked entries
...
It happens in some places, so artists need an example to
make it look good.
2015-06-13 21:10:25 -04:00
Matthias Clasen
e1942a8bb9
widget-factory: Demonstrate custom context menu items
...
Add bold/italics/underline styling to the context menu of
the 'Lorem ipsum...' text view in page 1. The point is not
to show good UI for this kind of styling, but to demonstrate
custom actions in the context menu / touch selection.
2015-06-07 01:12:18 -04:00
Matthias Clasen
ea3190d0ac
gtk3-widget-factory: Simplify ui file
2015-05-04 08:02:32 -04:00
Matthias Clasen
8e82d0fba2
widget-factory: Fix toolbar on page 3
...
Set toolbar-style to 'icons' to avoid rectangular buttons.
2015-03-19 19:11:39 -04:00
Matthias Clasen
25b610ef5e
widget-factory: Add an insensitive toolbutton
...
This will help getting their theming right in HighContrast.
2015-03-15 22:54:02 -04:00
Matthias Clasen
de239ca31b
widget-factory: Add tab close buttons
...
This will make it easier to fix issues with such buttons
in HighContrast.
2015-03-15 22:44:33 -04:00
Matthias Clasen
8d58b64c28
widget-factory: Stop using follow-state
...
The property is no longer needed, cell renderers now
always follow state.
2015-03-15 22:44:33 -04:00
Matthias Clasen
e1100813e6
widget factory: Don't make file chooser local-only
...
There's no reason to.
2015-02-18 17:28:07 -05:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Matthias Clasen
35a8d3d770
widget-factory: Add a combo box separator example
...
This shows that combo box separators are currently broken
in Adwaita.
2015-01-10 20:14:24 -05:00
Carlos Soriano
eec9a74304
widget-factory: Add a discontinuous GtkScale with marks
...
So designers can tweak the marks and developers can see how a
discontinuos scale is implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=741117
2014-12-05 13:23:05 +01:00
Matthias Clasen
5bf640d344
widget-factory: Add a treeview separator row
...
Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851
2014-11-29 18:49:46 -05:00
Matthias Clasen
6a618bf48c
widget-factory: Add some margins to text views
2014-11-12 17:23:45 -05:00
Matthias Clasen
dd7a851f69
widget-factory: Fill up page 2 properly
...
The collapsed expander leaves and odd empty corner, so expand
it initially.
2014-11-05 06:29:47 -05:00
Matthias Clasen
45c0461f9b
widget-factory: Add another osd
...
This is modeled after the totem osd.
2014-11-05 06:13:39 -05:00
Matthias Clasen
f32ec2e4be
widget-factory: Add mnemonics in the prefs dialog
...
This helps testing the mmemonic label display in the inspector,
and is just good practice.
2014-10-24 08:34:13 -04:00
Lapo Calamandrei
21536775d7
widget-factory: set show-border to false on page 3 notebooks
2014-10-24 13:08:06 +02:00
Matthias Clasen
7b28b1c9ba
widget-factory: Add a wide-handle example
2014-10-20 18:48:37 -04:00
Matthias Clasen
f3f0fc6bb2
widget-factory: Add a missing scrolled window
2014-10-15 21:53:53 -04:00
Matthias Clasen
2e093eafbf
widget-factory: Add some vertical examples
...
This adds both a vertical toolbar and vertically linked buttons.
2014-10-15 21:42:51 -04:00
Matthias Clasen
c79ccfd6f1
widget-factory: Cosmetic improvement
2014-10-04 15:14:26 -04:00
Matthias Clasen
79afd7c8d7
widget-factory: More vertical linking examples
2014-10-04 15:01:29 -04:00
Matthias Clasen
b22919220b
widget-factory: Make the record button more interesting
2014-10-03 01:13:02 -04:00
Matthias Clasen
3b18ea71c3
widget-factory: Add a sidebar example
2014-10-03 01:04:29 -04:00
Matthias Clasen
5c46db1d77
widget-factory: Add more buttons
...
Some more button variations, found in the wild.
2014-10-02 23:38:58 -04:00
Matthias Clasen
5b36bd704b
widget-factory: Add a scale button
...
Instead of two volume buttons, make the second one a scale button
and use microphones.
2014-10-02 21:42:08 -04:00
Lapo Calamandrei
541511c89a
widget-factory: remove margin from app-notification
2014-09-04 20:18:31 +02:00
Matthias Clasen
2b643a6fd1
widget-factory: More variety in listbox content
...
Add rows with buttons and checkboxes to the listbox example
on page 2, and make the switch in row 1 toggle selection mode,
to test various cases of widgets in 'selected context'.
2014-09-02 22:25:29 -04:00
Matthias Clasen
7af9dc9e21
widget-factory: Add a missing style class
...
Unfortunately, constructing image-only buttons by just adding
the image as a child does not give us the image-button style
class. Add it manually.
2014-08-13 09:18:08 -04:00
Matthias Clasen
e654fe5124
widget-factory: Don't say 'Etched out' twice
...
There's no difference between these shadow types anymore, but
it is irritating to see the same label twice.
2014-08-12 22:21:08 -04:00
Matthias Clasen
79f4d5d610
widget-factory: Improve the flow box example
...
Make the selection actually do something. This is also an opportunity
to test the new draw-layer vfunc in GtkTextView.
2014-08-12 22:14:21 -04:00
Matthias Clasen
9fab7a684b
widget-factory: Add a flowbox example
...
This is now really polished yet, but will let us work towards
'responsive grid'.
2014-08-12 20:23:05 -04:00
Matthias Clasen
c46ca9b25b
widget-factory: Make dialogs non-resizable
...
They have no reason to be.
2014-08-12 20:23:05 -04:00
Matthias Clasen
7b5e8dff9d
widget-factory: Don't use rules-hint
2014-08-12 19:06:58 -04:00
Debarshi Ray
a397824e9b
widget-factory: Add a reset button to the notification
...
Change the initial value to something that is not a multiple of 3, so
that dismissing the notification on reset makes sense. Let's use 50
because that is already being used elsewhere.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Debarshi Ray
5d8efb43bc
widget-factory: Turn off focus-on-click for notification close button
...
... because that is what most applications are doing. So lets do the
same thing for the sake of consistency and setting a good example.
https://bugzilla.gnome.org/show_bug.cgi?id=734614
2014-08-11 23:43:43 +02:00
Matthias Clasen
0a44be21af
widget-factory: Make one switch start out active
...
This nicely shows off
https://bugzilla.gnome.org/show_bug.cgi?id=734213
2014-08-04 12:28:01 +02:00
Matthias Clasen
97237fc54c
widget-factory: Add a linked combobox example
...
This came up in https://bugzilla.gnome.org/show_bug.cgi?id=733979
2014-08-03 11:07:25 +02:00
Matthias Clasen
144083d402
widget-factory: Rename some widgets
2014-07-20 00:43:17 -04:00
Matthias Clasen
04b5c5f14a
widget-factory: Fix multi-selection example
...
It turns out that activate-on-single-click interferes with the
expected multi-selection behavior. Turn it off, since there's nothing
to activate in this list, anyway.
2014-07-14 09:17:47 -04:00
Matthias Clasen
0431ee2b57
widget-factory: Use multi-selection for the listbox example
2014-07-14 08:49:54 -04:00
Matthias Clasen
f955548f47
widget-factory: Fix a typo
2014-07-13 13:00:37 -04:00
Matthias Clasen
42d97c380e
widget-factory: Use the new ::activatable property
2014-07-13 09:26:35 -04:00
Matthias Clasen
8d70b4692f
widget-factory: Improve listbox example spacing
2014-07-13 09:04:58 -04:00
Matthias Clasen
9b6563dcdc
widget-factory: Add some row activation to the listbox example
...
This shows some fallout from the gesture conversion.
2014-07-12 14:47:48 -04:00
Matthias Clasen
e54dad135c
widget-factory: Add another listbox example
...
This one is long enough to scroll, and has selection.
2014-07-12 03:31:29 -04:00
Matthias Clasen
0331dc984b
widget-factory: Add a selectable label
...
We already have selectable labels in some of the dialogs,
but this is more direct, and also shows links in labels.
2014-07-11 22:23:33 -04:00
Matthias Clasen
3780fc787c
widget-factory: Adapt to label clipping change
...
The paned examples on page 2 were implicitly relying on labels
drawing unclipped. Instead of setting the view class only on the
labels, set it on the paned's instead.
2014-07-11 21:15:03 -04:00
Matthias Clasen
797e7968f3
widget-factory: Enable even/odd rows
...
More treeview testing.
2014-07-10 07:15:33 -04:00
Matthias Clasen
f78a224e96
widget-factory: More treeview examples
...
The new treeview on page 3 sports expanders, grid and tree lines,
alternating row colors, etc.
2014-07-10 06:33:49 -04:00
Matthias Clasen
b31a310d7d
widget-factory: Use the new application resource support
2014-07-09 10:13:38 -04:00
Jakub Steiner
a673553aba
widget-factory: the menu icon name changed
2014-07-09 13:35:57 +02:00
Matthias Clasen
092c26871e
widget-factory: Use view-context-menu-symbolic
2014-07-08 06:53:30 -04:00
Matthias Clasen
04f9445302
widget-factory: Content for the action dialog
...
Dialogs look better with some actual content.
2014-07-08 06:33:19 -04:00
Matthias Clasen
59f3211b61
widget-factory: Add reorderable treeview columns
2014-07-07 14:35:33 -04:00
Matthias Clasen
3939e3ffcc
widget-factory: Fill out settings dialog
...
This gives an opportunity to use the dim-label style class.
2014-07-06 23:10:44 -04:00
Matthias Clasen
079e08f92d
widget-factory: Add some mnemonics
2014-07-04 16:49:55 -04:00
Matthias Clasen
58f27de927
widget-factory: Unset needs-attention too
...
This is not done automatically, so unset needs-attention when
the page becomes current.
2014-07-04 16:27:11 -04:00