2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

10019003: Some compose area icons improved. Box headers redesigned.

This commit is contained in:
John Preston
2016-11-08 17:43:10 +03:00
parent 475b35bf55
commit 494254496e
53 changed files with 223 additions and 226 deletions

View File

@@ -26,7 +26,7 @@ class InputField;
namespace Ui {
class MaskButton;
class IconButton;
class MultiSelect : public TWidget {
public:
@@ -154,7 +154,7 @@ private:
int _fieldTop = 0;
int _fieldWidth = 0;
ChildWidget<InputField> _field;
ChildWidget<Ui::MaskButton> _cancel;
ChildWidget<Ui::IconButton> _cancel;
int _newHeight = 0;
IntAnimation _height;

View File

@@ -119,7 +119,7 @@ MultiSelect {
fieldMinWidth: pixels;
fieldIcon: icon;
fieldIconSkip: pixels;
fieldCancel: MaskButton;
fieldCancel: IconButton;
fieldCancelSkip: pixels;
}
@@ -181,6 +181,11 @@ defaultLabelSimple: LabelSimple {
textFg: windowTextFg;
}
defaultIconButton: IconButton {
iconPosition: point(-1px, -1px);
iconPositionDown: point(-1px, -1px);
}
defaultMaskButton: MaskButton {
iconPosition: point(-1px, -1px);
iconPositionDown: point(-1px, -1px);