15 Commits

Author SHA1 Message Date
YuSanka
cd5d30d3b1 Menus related to the TopBar's buttons are extracted to the separate class.
+ Updated top bar layout in respect to the mode
+ Linux specific: Don`t show down arrow for buttons with PopupMenu
+ MainFrame: Use TopBar instead wxBookCtrlBase
2024-04-24 10:49:22 +02:00
YuSanka
2c0f826d89 Fix for SPE-2225 and SPE-2228
* Don't select "Printer" tab after printer technology change from selection in right panel
* Delete "Physical printer" tab after deletion last preset from physical printer

+ show_printer_webview_tab() is moved into MainFrame
+ TopBar: use AddNewPage and InsertNewPage as overridden functions for AddPage and InsertPage
2024-04-17 12:33:23 +02:00
YuSanka
3d4f2a7bba Fix for SPE-2227 : Prusa Account - long Nicknames overflow 2024-04-17 12:33:23 +02:00
YuSanka
44c8770df5 TopBar: Improvements and bug fixes
* Don't set a bold font on hovered items
* Don't hover selected item
* Fixed position of popup menu

+ Fix for SPE-2235 : Hard to see the numbers of printers after a change of application color mode
+ Fixed build warning with AddPage()
2024-04-11 15:55:10 +02:00
YuSanka
9f76f9051e TopBar buttons: Implemented render() function.
Note: on Linux wxButton doesn't receive wxEVT_PAINT event, so we cant redraw it with rounded corners.
So, we just set related colors of back/foreground for the TopBar buttons.
2024-03-25 12:05:55 +01:00
David Kocik
f3dd5fa17d Rename Auth to UserAccount 2024-03-25 12:05:55 +01:00
David Kocik
2031fb5133 Set downloaded avatar to scalable button 2024-03-25 12:05:55 +01:00
YuSanka
5804d5aa71 TopBar: Fixed Rescale() function 2024-03-25 12:05:55 +01:00
David Kocik
f716497318 Remember session refactoring. Browser login redirect dialog only until first confirmation 2024-03-25 12:05:55 +01:00
YuSanka
bf8c3e7653 Fixed OSX build and some of warnings 2024-03-25 12:05:55 +01:00
YuSanka
e065f0c83b TopBar: Added "Search" control
+ Deleted old search controls from tab and canvas3D
2024-03-25 12:05:55 +01:00
YuSanka
4263ca6283 TopBar: Fixed a hovering for the bar items 2024-03-25 12:05:55 +01:00
YuSanka
55ba9f2351 Topbar: Implement Auth menu 2024-03-25 12:05:55 +01:00
YuSanka
cecfe485ab WIP: New simple top bar : Improve/delete redundant mode sizers
+ UI-fixes for OSX
2024-03-25 12:05:55 +01:00
YuSanka
ada1fc37ff WIP: Experiments with New simple top bar 2024-03-25 12:05:55 +01:00