Commit graph

360 commits

Author SHA1 Message Date
Update Translations Bot
2050414cbd Update Translations: extract strings 2024-08-09 03:04:23 +00:00
Update Translations Bot
3d6cea4072 Update Translations: extract strings 2024-08-08 03:04:10 +00:00
Update Translations Bot
531da6ac51 Update Translations: extract strings 2024-08-03 03:03:57 +00:00
Update Translations Bot
9c30cdaf3b Update Translations: extract strings 2024-07-25 03:06:11 +00:00
ogoffart
aa25e3cd44 Bump version number to 1.7.1 2024-07-23 12:05:34 +00:00
Update Translations Bot
8714facc7e Update Translations: extract strings 2024-07-18 03:05:29 +00:00
Simon Hausmann
f91670dcfd Fix date/time picker type names in the gallery 2024-07-17 14:04:31 +02:00
Simon Hausmann
4c73006bf9 Remove stray imports of StyleMetrics
These are not needed AFAICS.
2024-07-12 09:13:35 +02:00
Update Translations Bot
4de9cae583 Update Translations: extract strings 2024-07-11 03:05:01 +00:00
Simon Hausmann
c81ab5cd6d Remove hard-coded sizes from date and time picker popups
Use the layout and position the popup centered relative to its parent.
2024-07-10 13:43:41 +02:00
Florian Blasius
6e2013e4ff
API Review: DatePicker and TimePicker (#5582) 2024-07-09 22:16:54 +02:00
Olivier Goffart
66370b6bda
Add export { ... } from "....slint"; syntax. (#5533) 2024-07-03 12:50:40 +02:00
Olivier Goffart
acb7da11d2 fix missing warning of missing export
... for last component when globals are exported
2024-06-21 11:57:49 +02:00
Update Translations Bot
ddc15c0813 Update Translations: extract strings 2024-06-19 03:04:16 +00:00
Update Translations Bot
c3f7309571 Update Translations: extract strings 2024-06-07 03:04:21 +00:00
Olivier Goffart
3da0ee5bb9 DatePicker: Logic in C++
Had to simplify a bit the rust logic to make it work
2024-06-06 09:03:50 +02:00
Florian Blasius
973ecac989 DatePicker: finished features 2024-06-06 09:03:50 +02:00
Florian Blasius
fe6dba9779 DatePicker: base setup 2024-06-06 09:03:50 +02:00
Update Translations Bot
cad11c821f Update Translations: extract strings 2024-06-06 03:04:27 +00:00
Florian Blasius
3ccee816be
Added TimePicker widget (#5251) 2024-06-05 15:23:06 +02:00
ogoffart
3a6e34ba45 Bump version number to 1.7.0 2024-06-04 20:34:29 +00:00
Update Translations Bot
07b26290ef Update Translations: extract strings 2024-05-16 03:04:01 +00:00
Florian Blasius
a3d4112897
Added placeholder-text to TextEdit (#5239)
---------

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-05-15 10:20:13 +00:00
Update Translations Bot
c89af275e5 Update Translations: extract strings 2024-04-19 03:04:20 +00:00
Update Translations Bot
d3eaad771b Update Translations: extract strings 2024-04-17 03:04:03 +00:00
Simon Hausmann
ae2e0197f8
Deprecate the use of StyleMetrics for users of the public API (#4947) 2024-04-15 17:07:05 +02:00
Update Translations Bot
207426c9fb Update Translations: extract strings 2024-04-06 03:04:48 +00:00
Update Translations Bot
dab9a4fc2e Update Translations: extract strings 2024-04-05 03:04:09 +00:00
Update Translations Bot
4d5a840740 Update Translations: extract strings 2024-04-04 03:04:53 +00:00
Update Translations Bot
0e01068ff5 Update Translations: extract strings 2024-03-29 03:03:47 +00:00
Simon Hausmann
bbefdbe4df Fix gallery about and text edit page layouts
Commit 68083243b2 removed the fixed height for the page header,
which mean that
both the textedit page had a vertical-stretch of 0 as well as the header,
and the layout divided the height evently.

Fixed the text edit page to allow for vertical growth, and added a spacer
to the about page.
2024-03-28 11:21:06 +01:00
ogoffart
6bf40989d9 Bump version number to 1.6.0 2024-03-27 07:49:22 +00:00
Update Translations Bot
aab2bd2ac3 Update Translations: extract strings 2024-03-27 03:04:12 +00:00
Simon Hausmann
68083243b2
Add an in-out boolean color-scheme property to Palette (#4701)
This allows applications to force dark/light mode, as well as determine
which mode is active.
2024-03-26 15:44:22 +01:00
Simon Hausmann
e4d12ca217 gallery: Add meta-data for cargo-bundle
This makes it trivial to create a .app bundle for the gallery, which
enables introspection with macOS' accessibility inspector (among other
things).
2024-03-21 13:34:23 +01:00
Simon Hausmann
020eaa4ce7 Fix build on macOS
init_translations!() is not available there. Amends 2ed26a3f72
2024-03-21 13:28:28 +01:00
Simon Hausmann
2ed26a3f72 Work around gettext-rs not compiling on macOS with latest xcode
gettext doesn't compile anymore:

/var/folders/x6/97fjm0c540s7yn9zlv7fp9k00000gn/T/tc81e-0/gettext/libtextstyle/lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) __attribute__((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types]
  __attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)

This works around it by not enabling it on macOS in the gallery.
2024-03-19 10:14:26 +01:00
ogoffart
20c570ab1d Bump version number to 1.5.1 2024-03-18 08:55:01 +00:00
Update Translations Bot
0a61be1e4d Update Translations: extract strings 2024-03-13 03:04:42 +00:00
Update Translations Bot
d3b0e63c96 Update Translations: extract strings 2024-03-07 03:03:43 +00:00
ogoffart
a0eed4e58e Bump version number to 1.5.0 2024-02-20 17:33:11 +00:00
Update Translations Bot
7c6d30b06e Update Translations: extract strings 2024-02-14 03:04:36 +00:00
Update Translations Bot
6bb9905191 Update Translations: extract strings 2024-02-08 03:04:15 +00:00
ogoffart
fec2b961db Bump version number to 1.4.1 2024-02-01 09:12:42 +00:00
Olivier Goffart
570d1ab3bb Gallery demo: Pick the default style based on the user agent
so it looks more "native"
2024-02-01 09:13:40 +01:00
Update Translations Bot
b578ca469a Update Translations: extract strings 2024-02-01 03:04:02 +00:00
Update Translations Bot
d67f0de808 Update Translations: extract strings 2024-01-26 03:04:10 +00:00
Florian Blasius
90874b0df4
Fixed style selection in wasm gallery (#4426) 2024-01-25 12:54:27 +01:00
Florian Blasius
1ca8ff517e
Added cosmic style for std-widgets. (#4350) 2024-01-16 13:21:17 +01:00
Update Translations Bot
ff2bf6849e Update Translations: extract strings 2024-01-13 03:03:53 +00:00