diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-24 14:59:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-24 16:45:40 +0100 |
commit | 7deac4656c53965125c9ec1ca6eb8fcc8d393afa (patch) | |
tree | 1ad5ce971cf3da22fcec786294d37e591c13029f /include | |
parent | beb2b25c97bbbe37309a6186269b30be7b0d7a6f (diff) |
gtk3: get the right height for Edit boxes
smuggle the text height down to the native region calculation code instead of
messing around with proxies
Change-Id: I727ceddb5b431be82e6e5a725f9bca588e5b2046
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/salnativewidgets.hxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx index d473aea1b584..1bee87611ee8 100644 --- a/include/vcl/salnativewidgets.hxx +++ b/include/vcl/salnativewidgets.hxx @@ -476,6 +476,18 @@ public: bool mbSingleLine:1; }; +/* EditBoxValue: + * + * Value container for editbox specifying additional drawing hints + */ +class VCL_DLLPUBLIC EditBoxValue : public ImplControlValue +{ +public: + EditBoxValue(long nTextHeight) + : ImplControlValue(CTRL_EDITBOX, BUTTONVALUE_DONTKNOW, nTextHeight) + { + } +}; #endif |