slint/internal/compiler
Arkadiusz Żmudzin d89f8cfe17
Align DatePickerPopup and TimePickerPopup placement logic (#9410)
Updated the `width` and `height` properties of `DatePickerPopup` and `TimePickerPopup` components to use dynamic sizing based on `dialog` dimensions instead of fixed pixel values.

Previously, the lack of `width` and `height` in `TimePickerPopup` caused inconsistent placement when displayed at a specific location:
- `DatePickerPopup` was centered on the given (x, y)
- `TimePickerPopup` used its top-left corner as the anchor point

Now both components consistently render centered at the specified (x, y).

Fixes #9262
2025-09-15 09:46:39 +02:00
..
generator slint macro: Use Span::local_file when Rust is 1.88 2025-09-12 13:27:31 +02:00
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
llr Simplify menu handling 2025-08-15 12:07:46 +02:00
lookup Replace compiler dependency on css-color-parser crate 2024-07-29 13:13:53 +02:00
parser Parse: accept changed callback without brace 2025-08-29 14:49:47 +02:00
parser-test-macro A few more format arg inlining 2025-02-07 06:43:19 +01:00
passes Handle rotating mouse events (#9317) 2025-09-12 00:13:14 +12:00
tests Handle rotating mouse events (#9317) 2025-09-12 00:13:14 +12:00
widgets Align DatePickerPopup and TimePickerPopup placement logic (#9410) 2025-09-15 09:46:39 +02:00
build.rs Ensure error reporting when using buffered file writes 2025-08-20 10:22:45 +02:00
builtin_macros.rs Refactoring: get rid in the callable in the Expression tree 2025-01-24 20:26:35 +01:00
builtins.slint Button: add property icon-size (#9279) 2025-09-11 16:14:17 +02:00
Cargo.toml Update fdsm dependency to 0.7.0 (#8524) 2025-06-27 08:46:19 +02:00
diagnostics.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
embedded_resources.rs Signed DistanceField font rendering in swrenderer 2024-10-23 09:12:30 +02:00
expression_tree.rs MenuBar: allow it to be in a if 2025-08-18 11:17:57 +02:00
fileaccess.rs Widget style: simplify -light/-dark handling 2024-08-20 16:55:15 +02:00
generator.rs Rename "Live Reload" feature to "Live Preview for Rust/C++" 2025-08-28 17:26:01 +02:00
langtype.rs Fix grammar and typos in comments (in the compiler passes) 2025-08-13 16:27:28 +02:00
layout.rs Fix layout property set in when deriving components 2025-04-23 09:23:07 +02:00
lexer.rs Auto-fixed clippy::needless_lifetimes 2025-02-07 09:20:49 +01:00
lib.rs LSP: Start external process for live preview 2025-07-28 17:13:15 +02:00
literals.rs Use SmolStr in more places of the compiler infrastructure 2024-10-17 18:04:58 +02:00
llr.rs Improve font embedding for MCUs when bundling translations (#7875) 2025-03-18 11:54:28 +01:00
load_builtins.rs Allow to have builtin item function to return a value 2025-03-31 14:06:24 +02:00
lookup.rs Add an Easing namespace (#9179) 2025-08-21 09:06:48 +02:00
namedreference.rs Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
object_tree.rs Compiler: Fix recurse_elem_including_sub_components_no_borrow when called before process_repeater_components 2025-09-05 13:12:26 +02:00
parser.rs Parse: accept changed callback without brace 2025-08-29 14:49:47 +02:00
passes.rs Handle rotating mouse events (#9317) 2025-09-12 00:13:14 +12:00
pathutils.rs CI: Fix build with nightly and -D warnings 2025-06-06 11:38:50 +02:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
translations.rs CI: Fix remaining lifetime annotation warnings 2025-06-06 11:47:14 +02:00
typeloader.rs slint macro: Use Span::local_file when Rust is 1.88 2025-09-12 13:27:31 +02:00
typeregister.rs Add stop(), start(), and restart() methods to Timer (#8821) 2025-07-18 14:51:55 +02:00

The Slint Compiler Library

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.