- This topic has 3 replies, 2 voices, and was last updated 13 years, 6 months ago by Support.
-
AuthorPosts
-
April 22, 2011 at 11:31 am #34506emailayaParticipant
Hi
When setting sTabSheet.UseClosebtn to FALSE, the X disappears but the width remains as if it's still there, is it possible to make the tab narrower?
When setting ActiveIsBold to TRUE and the tab caption is long, for example: “Windows address book” the caption contains … though it should just change the width accordingly (the TabWidth is set to 0)
Even the word “Home” with the X is enough to make Ho… (with … instead of the whole word)
It seems that sometimes the X is red and sometimes a simple black, not sure when it suppose to be red and when black, it's inconsistent
in sPagecontrol.pas, line: 754
I got AV, you should put this instead or maybe another way to solve this
if (ActivePage <> nil) and (ActivePage.SkinData <> nil) and (ActivePage.SkinData.SkinSection <> '') then begin
thanks
May 1, 2011 at 7:42 am #45556SupportKeymasterHi
'emailaya' wrote:When setting sTabSheet.UseClosebtn to FALSE, the X disappears but the width remains as if it's still there, is it possible to make the tab narrower?When setting ActiveIsBold to TRUE and the tab caption is long, for example: “Windows address book” the caption contains … though it should just change the width accordingly (the TabWidth is set to 0)
Even the word “Home” with the X is enough to make Ho… (with … instead of the whole word)
Width of a custom tab can't be changed as you want, unfortunately. This is limitation which can't be avoided.
For adding additional width was used the TCM_SETPADDING message, which may be used in all tabs only.
Quote:It seems that sometimes the X is red and sometimes a simple black, not sure when it suppose to be red and when black, it's inconsistentThis small close button is taken from current skin.
May 1, 2011 at 9:29 am #45560emailayaParticipant'Support' wrote:Hi
Width of a custom tab can't be changed as you want, unfortunately. This is limitation which can't be avoided.
For adding additional width was used the TCM_SETPADDING message, which may be used in all tabs only.
This small close button is taken from current skin.
so you say that the width problems cannot be solved?
neither the width when three is no X and also when the caption is bold?
it means that it is unusable, it looks very bad when bold captions are cut off even for short captions like “home”
May 12, 2011 at 2:49 pm #45667SupportKeymasterHi
In the version 7.42 will be added new TabPadding property. I think, it helps.
-
AuthorPosts
- You must be logged in to reply to this topic.