feat: keyboard layout/variant search with custom combobox, hex color constants, various UI fixes

- Custom combobox implementation with TextEdit + Area popup for keyboard layout/variant search
- Added color_from_hex() helper, layout_buf/variant_buf fields
- Removed egui-dropdown dependency
- Popup items 28px -> 32px with gradient background
- Dropdown text color changed to pure white
- All color constants converted to hex format
- KLE SVG rendering improvements
- CHANGELOG.md updated
This commit is contained in:
Erkan IŞIK
2026-06-24 07:09:39 +03:00
parent d98ae22519
commit 635c844710
8 changed files with 2348 additions and 248 deletions
+17 -1
View File
@@ -1,6 +1,22 @@
# Changelog
## [4.0.2] — 2026-06-21
## [4.0.3] — 2026-06-23
### Added
- Aramalı klavye düzeni/varyant seçici: egui `TextEdit` + `Area` popup ile özel implementasyon
- `color_from_hex(hex: u32)` yardımcısı (`combobox_stil.rs`)
- `layout_buf`, `variant_buf` alanları (`KeyboardStep`)
### Changed
- `egui-dropdown` bağımlılığı kaldırıldı (artık kullanılmıyor)
- Düzen/Varyant seçiciler yan yana → alt alta, etiket genişliği en uzun etikete göre eşitlendi
- Popup öğe yüksekliği 28px → 32px, gradient arkaplan (`draw_gradient_bg`) ile `combobox.rs` stilinde
- `DROPDOWN_TEXT_COLOR` kırık beyaz → tam beyaz (`color_from_hex(0xFFFFFF)`)
- Tüm renk sabitleri hex formatına çevrildi (`color_from_hex`)
### Fixed
- Popup ilk açılışta eski seçim filtresiyle tüm öğelerin görünmemesi — odaklanınca tampon temizleniyor
- `t!()` dönüş tipi `Cow<str>` → `String` uyumsuzluğu (`keyboard.rs`)
### Changed
- Sürgü maksimum değeri artık diskteki kullanılabilir alan kadar (diğer bölümler hariç)