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:
@@ -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;
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user