Commit Graph
12 Commits
Author SHA1 Message Date
Kacper Kasper 173e8195a4 BTabView: remove dead code.
Signed-off-by: Adrien Destugues <[email protected]>
2017-08-20 09:04:05 +02:00
Kacper Kasper a34769a0cc BTabView: cleanup draw function.
* Slightly changes how tabs look.

Signed-off-by: Adrien Destugues <[email protected]>
2017-08-20 09:03:52 +02:00
Kacper Kasper 2aaee07095 Fix window behavior if default button is present.
* Almost all Enter keystrokes were hijacked without the ability to
  reconfigure.
* Let apps use these shortcuts.

Signed-off-by: Axel Dörfler <[email protected]>
2017-07-20 09:32:20 +02:00
Kacper Kasper c7fabe22b4 ControlLook: Fix redraw issues introduced in hrev50893.
* I was pretty sure that I didn't change the logic, but turns out
  I was wrong. Sorry about that.
* Adjusted copy-pasted comments.

Signed-off-by: Adrien Destugues <[email protected]>

Fixes #13238.
2017-01-29 21:48:40 +01:00
Kacper Kasper 2332ebfd52 ControlLook: Add side parameter to tab drawing functions.
* This allows drawing tabs on any side of the view.

Signed-off-by: Adrien Destugues <[email protected]>
2017-01-22 09:36:38 +01:00
Kacper Kasper 88510bc040 ControlLook: Fix drawing of right bottom tab corner.`
Signed-off-by: Adrien Destugues <[email protected]>
2017-01-22 09:36:33 +01:00
Kacper Kasper 4d83a710f5 makefile-engine: Fix catkey generation.
Fixes #13146.

Signed-off-by: Augustin Cavalier <[email protected]>
2017-01-10 17:21:39 -05:00
Kacper Kasper dd074cc7dc Style fixes for Errors.h.
No functional change intended.
2016-10-04 18:44:58 +02:00
Kacper Kasper 020362191a PowerStatus: Show extended info window on middle button click.
* Fixes #7473.
* Minor style cleanup.

Signed-off-by: Adrien Destugues <[email protected]>
2016-08-28 10:50:22 +02:00
Kacper Kasper 13300cf63a Expander: fix status view.
* Truncate() would cut Unicode characters in the middle.
* This commit removes arbitrary message length limit as well as workaround
  it was needed for and fixes #5289.
* Status view now expands to maximum possible width and cuts the status
  message if necessary using TruncateString().

Signed-off-by: Adrien Destugues <[email protected]>

* Minor whitespace fix.
2016-08-20 07:57:55 +02:00
Kacper Kasper 273109e004 Fix window behavior when default button is present
* Don't intercept Enter key press in a window when there is default
button and another BControl focused.
* Current behavior was basically breaking every window using default
button. Even if there was a button focused (using Tab key), when Enter
was hit, default button handled the message, therefore instead of
i.e. 'Revert' 'Apply' was pressed.
* Fixes #10792.

Signed-off-by: Jessica Hamilton <[email protected]>
2014-04-28 22:52:09 +12:00
Kacper Kasper db0132297b Fix button layout consistency issues in preflets
Signed-off-by: Stephan Aßmus <[email protected]>
2014-02-19 09:33:53 +01:00