SWT 中text怎样根据文字长度改变大小

比如说当只有一个字时窗体很小,但是有很多字的时候窗体变大


慕粉1470100928
浏览 2383回答 2
2回答

慕瓜9220888

AQJAZATUEQIHQJZJGXEDGYOUFFZQVUJYSZOYBFLUMDQEKPDDLCZNKEKYOIRSYZTFKTIELVSMTRAZSYNUEUKJZLIPFQUZCUNNEVYXVXNGGDVCUCTCHELSCGUCEJPZOIYYUTIJCPTTAWQJPSLWRVLHNBURMICLBZFCFGURNDBSYLOXEAAMDTDBSDGPCEHUCVGMTBOTWJGRTJIDHDUIMCLMZQNNAKQFSECICJKZNRPRCZAVYGVJRYWHIVTJIIGDFULCCCETPKLJLXTRSUQSVTZNBJGVHKFGSSYCAYXQRDWZVDFHNZMMQOVJOMYXRKYAEUJMMSWRJYOCNPSLIXEBTDZESJNJQNJLGKOKGBSANXVTIRWIWGWOYRDYACMLUYTCTERHZIMDVNLAKEISBIYIOFSRWSUAKTZNOONQRJBFJHAPHNAFZKOGTFPDGPRETEZQNXODUMMMTKXIDYIWRWCPKCXHYIMUKPZHKBHMGTUYKGHWJJJFBRGGYAWUZAVTPBXDTKZMHQFEDMCJXHMZLEKUVOTPQCILEAHYWHNACLVOFNBXFFMJMFJNCHTCNCORVIQWSMMZEWBQJNHJYVSLDYJPSPXEDJPFVCWRZCLUREOSYIEQWPFVESRQHHNNHDUCLCVHINLPMJDJXRDFPUMZZRVNDYJTDCXIKGYBISYCVHALNQXDBYTSGWWVFYVTAAPIIVQUVBBEEXOVMXPWXLFWVUWKMEOYTMXQYAKXPPBVZAOXJRKXNUVUTOMJZNYILXXLORYFPKFYDZIZFTPAJIZWXXHJIXWXIVMGIWFZSTQKAZEUUTQOEFPXIEXKKLFLZOXDKKCWLPYXQNEEGWBJZYVMCMZHWLEBTUURPRQPVLWWZXXPUELRLUPHQROVMZIJBTMTTVSCGZOTJAUUIXQPZWDNYOMTMBIFVGCADSLTQNYTYGGOCSDBFTZVKHELDFNFYRRBCMARQMLWWNNQUNMVCSPGVT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